Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_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.0008843/0.0008839, allocations: 93.66 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009101/0.0009098, allocations: 174.8 kB / 16.92 MB, free: 6.684 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.421/1.421, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6871/0.6871, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003393, allocations: 9.469 kB / 496 MB, free: 6.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1646, allocations: 77.53 MB / 0.56 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.001686/0.1664, allocations: 1.158 MB / 0.5612 GB, free: 7.754 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.1677, allocations: 0.7877 MB / 0.5619 GB, free: 6.957 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.392e-05/0.1678, allocations: 0 / 0.5619 GB, free: 6.957 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.1678, allocations: 4 kB / 0.5619 GB, free: 6.953 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.38e-05/0.1678, allocations: 3.984 kB / 0.562 GB, free: 6.949 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.1683, allocations: 99.69 kB / 0.562 GB, free: 6.852 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.381e-05/0.1683, allocations: 31.92 kB / 0.5621 GB, free: 6.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.398e-05/0.1684, allocations: 8 kB / 0.5621 GB, free: 6.812 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.448e-05/0.1685, allocations: 11.92 kB / 0.5621 GB, free: 6.801 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.903e-05/0.1686, allocations: 23.91 kB / 0.5621 GB, free: 6.777 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.1686, allocations: 4 kB / 0.5621 GB, free: 6.773 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004809/0.1691, allocations: 315.4 kB / 0.5624 GB, free: 6.465 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.1691, allocations: 7.984 kB / 0.5624 GB, free: 6.457 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.824e-05/0.1691, allocations: 37.62 kB / 0.5625 GB, free: 6.414 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.1694, allocations: 187.9 kB / 0.5626 GB, free: 6.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1695, allocations: 0 / 0.5626 GB, free: 6.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1695, allocations: 0 / 0.5626 GB, free: 6.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1695, allocations: 0 / 0.5626 GB, free: 6.23 MB / 430.1 MB 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.0005249/0.17, allocations: 383.4 kB / 0.563 GB, free: 5.809 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1701, allocations: 12.03 kB / 0.563 GB, free: 5.797 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.5e-05/0.1701, allocations: 30.75 kB / 0.5631 GB, free: 5.758 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004674/0.1706, allocations: 76.84 kB / 0.5631 GB, free: 5.684 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.1707, allocations: 168.4 kB / 0.5633 GB, free: 5.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.1707, allocations: 384 / 0.5633 GB, free: 5.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.1708, allocations: 4.375 kB / 0.5633 GB, free: 5.477 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.1711, allocations: 97.75 kB / 0.5634 GB, free: 5.375 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.1711, allocations: 4 kB / 0.5634 GB, free: 5.371 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1711, allocations: 0 / 0.5634 GB, free: 5.371 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1712, allocations: 0 / 0.5634 GB, free: 5.371 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004511/0.1716, allocations: 119.9 kB / 0.5635 GB, free: 5.254 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005521/0.1722, allocations: 312.6 kB / 0.5638 GB, free: 4.898 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.1726, allocations: 118.5 kB / 0.5639 GB, free: 4.773 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.1729, allocations: 64.88 kB / 0.564 GB, free: 4.707 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.1729, allocations: 3.984 kB / 0.564 GB, free: 4.703 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.1729, allocations: 34.56 kB / 0.564 GB, free: 4.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.1729, allocations: 0 / 0.564 GB, free: 4.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007996/0.1737, allocations: 209.6 kB / 0.5642 GB, free: 4.449 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.1738, allocations: 51.41 kB / 0.5643 GB, free: 4.387 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.65e-05/0.1739, allocations: 105.7 kB / 0.5644 GB, free: 4.273 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.1739, allocations: 29.7 kB / 0.5644 GB, free: 4.238 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.174, allocations: 84.12 kB / 0.5645 GB, free: 4.152 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.174, allocations: 3.906 kB / 0.5645 GB, free: 4.148 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.174, allocations: 13.72 kB / 0.5645 GB, free: 4.129 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1741, allocations: 322.8 kB / 0.5648 GB, free: 3.805 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.1744, allocations: 55.95 kB / 0.5648 GB, free: 3.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.1746, allocations: 55.94 kB / 0.5649 GB, free: 3.695 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004178/0.175, allocations: 112.8 kB / 0.565 GB, free: 3.582 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.175, allocations: 0 / 0.565 GB, free: 3.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00049/0.1755, allocations: 153.5 kB / 0.5652 GB, free: 3.426 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1756, allocations: 4 kB / 0.5652 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1756, allocations: 0 / 0.5652 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1756, allocations: 0 / 0.5652 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.1758, allocations: 32 kB / 0.5652 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1758, allocations: 0 / 0.5652 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.1759, allocations: 23.97 kB / 0.5652 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.1759, allocations: 4 kB / 0.5652 GB, free: 3.363 MB / 430.1 MB 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 8.828e-05/0.176, allocations: 117.8 kB / 0.5653 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.1761, allocations: 3.906 kB / 0.5653 GB, free: 3.234 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.1761, allocations: 7.109 kB / 0.5653 GB, free: 3.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1761, allocations: 0 / 0.5653 GB, free: 3.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1761, allocations: 4 kB / 0.5653 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.1761, allocations: 0 / 0.5653 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.1763, allocations: 169.6 kB / 0.5655 GB, free: 3.012 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1763, allocations: 0 / 0.5655 GB, free: 3.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.1765, allocations: 31.97 kB / 0.5655 GB, free: 2.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1765, allocations: 0 / 0.5655 GB, free: 2.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1765, allocations: 0 / 0.5655 GB, free: 2.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.1765, allocations: 11.91 kB / 0.5655 GB, free: 2.969 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1765, allocations: 0 / 0.5655 GB, free: 2.969 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005298/0.177, allocations: 243.7 kB / 0.5658 GB, free: 2.715 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.1771, allocations: 81.09 kB / 0.5659 GB, free: 2.617 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.1771, allocations: 4 kB / 0.5659 GB, free: 2.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.1773, allocations: 24.02 kB / 0.5659 GB, free: 2.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.1773, allocations: 7.922 kB / 0.5659 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.1773, allocations: 4 kB / 0.5659 GB, free: 2.578 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.684e-05/0.1774, allocations: 83.28 kB / 0.566 GB, free: 2.496 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1774, allocations: 0 / 0.566 GB, free: 2.496 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.1776, allocations: 12 kB / 0.566 GB, free: 2.484 MB / 430.1 MB 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.0008336/0.1784, allocations: 0.7942 MB / 0.5668 GB, free: 1.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004977/0.179, allocations: 115.9 kB / 0.5669 GB, free: 1.547 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.179, allocations: 4.062 kB / 0.5669 GB, free: 1.543 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.1792, allocations: 63.94 kB / 0.5669 GB, free: 1.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.1795, allocations: 10.67 kB / 0.5669 GB, free: 1.473 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007021/0.1802, allocations: 210.3 kB / 0.5671 GB, free: 1.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.1805, allocations: 0.677 MB / 0.5678 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.366e-05/0.1805, allocations: 12 kB / 0.5678 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.1806, allocations: 7.438 kB / 0.5678 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1806, allocations: 0 / 0.5678 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01132/0.1919, allocations: 1.393 MB / 0.5692 GB, free: 15.25 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/0.1921, allocations: 199.5 kB / 0.5694 GB, free: 15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/2.011, allocations: 0 / 0.5694 GB, free: 15 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)