Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9668/0.9668, allocations: 175.7 MB / 480.1 MB, free: 2.77 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 68.45 kB / 0.6678 GB, free: 11.11 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1525, allocations: 94.53 MB / 0.7601 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002342/0.1549, allocations: 1.446 MB / 0.7615 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.156, allocations: 0.816 MB / 0.7623 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.987e-05/0.156, allocations: 0 / 0.7623 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.016e-05/0.156, allocations: 0 / 0.7623 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.536e-05/0.1561, allocations: 3.938 kB / 0.7623 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.1565, allocations: 131.5 kB / 0.7624 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.498e-05/0.1565, allocations: 31.92 kB / 0.7624 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.117e-05/0.1566, allocations: 7.984 kB / 0.7625 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.259e-05/0.1566, allocations: 11.94 kB / 0.7625 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.619e-05/0.1567, allocations: 23.95 kB / 0.7625 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.1567, allocations: 4 kB / 0.7625 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004711/0.1572, allocations: 315.4 kB / 0.7628 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.1572, allocations: 11.94 kB / 0.7628 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.1572, allocations: 19.91 kB / 0.7628 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.1575, allocations: 191.5 kB / 0.763 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1575, allocations: 3.938 kB / 0.763 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1575, allocations: 0 / 0.763 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.1575, allocations: 0 / 0.763 GB, free: 13.93 MB / 0.5762 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.0005013/0.158, allocations: 379 kB / 0.7634 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1581, allocations: 8.031 kB / 0.7634 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.06e-05/0.1581, allocations: 30.75 kB / 0.7634 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004266/0.1585, allocations: 68.81 kB / 0.7635 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.1587, allocations: 180.3 kB / 0.7636 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.1587, allocations: 384 / 0.7636 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.1587, allocations: 4.359 kB / 0.7637 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.159, allocations: 85.75 kB / 0.7637 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.159, allocations: 0 / 0.7637 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.159, allocations: 0 / 0.7637 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.159, allocations: 4 kB / 0.7637 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004054/0.1594, allocations: 87.91 kB / 0.7638 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004796/0.1599, allocations: 300.8 kB / 0.7641 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.1602, allocations: 102.4 kB / 0.7642 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.1605, allocations: 48.88 kB / 0.7643 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.1605, allocations: 0 / 0.7643 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.1605, allocations: 34.56 kB / 0.7643 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.1605, allocations: 0 / 0.7643 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0007088/0.1612, allocations: 173.5 kB / 0.7645 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.1612, allocations: 55.41 kB / 0.7645 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.98e-05/0.1613, allocations: 105.8 kB / 0.7646 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1613, allocations: 25.7 kB / 0.7646 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.398e-05/0.1614, allocations: 84.14 kB / 0.7647 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.1614, allocations: 11.89 kB / 0.7647 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.1614, allocations: 21.73 kB / 0.7647 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1616, allocations: 318.7 kB / 0.765 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.1618, allocations: 43.95 kB / 0.7651 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.162, allocations: 47.95 kB / 0.7651 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000378/0.1623, allocations: 88.83 kB / 0.7652 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1623, allocations: 0 / 0.7652 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004444/0.1628, allocations: 125.5 kB / 0.7653 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1628, allocations: 4 kB / 0.7653 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.1628, allocations: 0 / 0.7653 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1628, allocations: 0 / 0.7653 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.163, allocations: 28 kB / 0.7654 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.163, allocations: 0 / 0.7654 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.1631, allocations: 19.97 kB / 0.7654 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.1631, allocations: 4 kB / 0.7654 GB, free: 11.25 MB / 0.5762 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 7.238e-05/0.1632, allocations: 109.8 kB / 0.7655 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.1632, allocations: 4 kB / 0.7655 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/0.1632, allocations: 7.125 kB / 0.7655 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1632, allocations: 0 / 0.7655 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1632, allocations: 0 / 0.7655 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1632, allocations: 0 / 0.7655 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.1634, allocations: 173.6 kB / 0.7657 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1634, allocations: 0 / 0.7657 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.1636, allocations: 23.97 kB / 0.7657 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1636, allocations: 4 kB / 0.7657 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1636, allocations: 4 kB / 0.7657 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1636, allocations: 0 / 0.7657 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1636, allocations: 0 / 0.7657 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004879/0.1641, allocations: 223.3 kB / 0.7659 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/0.1641, allocations: 77.11 kB / 0.766 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.1641, allocations: 8 kB / 0.766 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.1643, allocations: 20 kB / 0.766 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.1643, allocations: 7.938 kB / 0.766 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.1643, allocations: 3.984 kB / 0.766 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.402e-05/0.1644, allocations: 83.53 kB / 0.7661 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1644, allocations: 0 / 0.7661 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002359/0.1646, allocations: 19.94 kB / 0.7661 GB, free: 10.41 MB / 0.5762 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.0008428/0.1654, allocations: 0.763 MB / 0.7669 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004377/0.1659, allocations: 87.94 kB / 0.767 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1659, allocations: 4 kB / 0.767 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.1661, allocations: 47.95 kB / 0.767 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.1663, allocations: 8.109 kB / 0.767 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006572/0.167, allocations: 199 kB / 0.7672 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.1673, allocations: 0.6806 MB / 0.7679 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.173e-05/0.1673, allocations: 15.94 kB / 0.7679 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.1674, allocations: 15.44 kB / 0.7679 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.1674, allocations: 0 / 0.7679 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.1907, allocations: 1.665 MB / 0.7695 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.053/7.243, allocations: 2.031 kB / 0.7695 GB, free: 6.914 MB / 0.5762 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.58543552699848]