Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005458/0.005458, allocations: 100.7 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 196.9 kB / 16.68 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8021/0.8021, allocations: 132.2 MB / 422.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.88 kB / 0.5809 GB, free: 23.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1435, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002832/0.1464, allocations: 1.435 MB / 0.6606 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.1477, allocations: 0.7952 MB / 0.6614 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.276e-05/0.1477, allocations: 0 / 0.6614 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.163e-05/0.1478, allocations: 3.938 kB / 0.6614 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.585e-05/0.1478, allocations: 3.938 kB / 0.6614 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005445/0.1484, allocations: 131.5 kB / 0.6615 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.204e-05/0.1485, allocations: 35.91 kB / 0.6615 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.344e-05/0.1486, allocations: 4 kB / 0.6615 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.043e-05/0.1486, allocations: 15.98 kB / 0.6616 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.007e-05/0.1487, allocations: 19.92 kB / 0.6616 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.1487, allocations: 4 kB / 0.6616 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004816/0.1492, allocations: 323.3 kB / 0.6619 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.1493, allocations: 7.984 kB / 0.6619 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.1493, allocations: 11.94 kB / 0.6619 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.1497, allocations: 198.4 kB / 0.6621 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1497, allocations: 3.938 kB / 0.6621 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1497, allocations: 0 / 0.6621 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.1497, allocations: 0 / 0.6621 GB, free: 7.734 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006146/0.1503, allocations: 376 kB / 0.6625 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.1504, allocations: 12.03 kB / 0.6625 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.157e-05/0.1504, allocations: 30.75 kB / 0.6625 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004814/0.1509, allocations: 64.84 kB / 0.6626 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.151, allocations: 172.5 kB / 0.6627 GB, free: 7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.1511, allocations: 4.375 kB / 0.6627 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.1511, allocations: 4.312 kB / 0.6627 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/0.1514, allocations: 93.73 kB / 0.6628 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.1514, allocations: 4 kB / 0.6628 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1515, allocations: 0 / 0.6628 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.1515, allocations: 0 / 0.6628 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004257/0.1519, allocations: 99.83 kB / 0.6629 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006038/0.1525, allocations: 292.9 kB / 0.6632 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.1529, allocations: 94.5 kB / 0.6633 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.1531, allocations: 52.86 kB / 0.6633 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.1532, allocations: 0 / 0.6633 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.1532, allocations: 38.5 kB / 0.6634 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.1532, allocations: 0 / 0.6634 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0007573/0.154, allocations: 165.5 kB / 0.6635 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.154, allocations: 55.39 kB / 0.6636 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.516e-05/0.1541, allocations: 102 kB / 0.6637 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.1542, allocations: 29.7 kB / 0.6637 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.1542, allocations: 80.14 kB / 0.6638 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.1542, allocations: 11.89 kB / 0.6638 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.1543, allocations: 13.72 kB / 0.6638 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1544, allocations: 314.8 kB / 0.6641 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.1546, allocations: 51.95 kB / 0.6642 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.1549, allocations: 43.94 kB / 0.6642 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003996/0.1553, allocations: 93.02 kB / 0.6643 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1553, allocations: 4 kB / 0.6643 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004512/0.1557, allocations: 121.6 kB / 0.6644 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1558, allocations: 8 kB / 0.6644 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1558, allocations: 0 / 0.6644 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1558, allocations: 0 / 0.6644 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.156, allocations: 19.97 kB / 0.6644 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.156, allocations: 0 / 0.6644 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.1561, allocations: 24 kB / 0.6645 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1561, allocations: 0 / 0.6645 GB, free: 5.078 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.7e-05/0.1562, allocations: 118.7 kB / 0.6646 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.1563, allocations: 7.844 kB / 0.6646 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.731e-05/0.1563, allocations: 7.109 kB / 0.6646 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1563, allocations: 0 / 0.6646 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1563, allocations: 4 kB / 0.6646 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1563, allocations: 0 / 0.6646 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.1565, allocations: 169.6 kB / 0.6648 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1565, allocations: 4 kB / 0.6648 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.1567, allocations: 23.91 kB / 0.6648 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1567, allocations: 0 / 0.6648 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1567, allocations: 0 / 0.6648 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.1567, allocations: 7.984 kB / 0.6648 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1567, allocations: 0 / 0.6648 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005129/0.1572, allocations: 215.4 kB / 0.665 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.1573, allocations: 85.12 kB / 0.6651 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.1573, allocations: 0 / 0.6651 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.1575, allocations: 19.98 kB / 0.6651 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.1575, allocations: 3.984 kB / 0.6651 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.1575, allocations: 0 / 0.6651 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.569e-05/0.1576, allocations: 79.28 kB / 0.6652 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1576, allocations: 3.938 kB / 0.6652 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002397/0.1578, allocations: 16 kB / 0.6652 GB, free: 4.23 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009028/0.1587, allocations: 0.7708 MB / 0.6659 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000491/0.1592, allocations: 91.94 kB / 0.666 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1593, allocations: 0 / 0.666 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.1595, allocations: 59.94 kB / 0.6661 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.1598, allocations: 6.844 kB / 0.6661 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007991/0.1606, allocations: 191.1 kB / 0.6663 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.1609, allocations: 0.6768 MB / 0.6669 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.659e-05/0.161, allocations: 8 kB / 0.6669 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.346e-05/0.1611, allocations: 19.42 kB / 0.667 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of SimCode: time 6.21e-07/0.1611, allocations: 0 / 0.667 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01718/0.1782, allocations: 1.69 MB / 0.6686 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.563/7.741, allocations: 6.75 kB / 0.6686 GB, free: 0.7227 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized.fmu > IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)