Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 217 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8488/0.8488, allocations: 134 MB / 447.2 MB, free: 10.16 MB / 350.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/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 66.36 kB / 0.6193 GB, free: 7.168 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1712, allocations: 85.91 MB / 0.7032 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006022/0.1772, allocations: 3.835 MB / 0.7069 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002186/0.1774, allocations: 163.5 kB / 0.7071 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.122e-05/0.1775, allocations: 0 / 0.7071 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.1776, allocations: 3.938 kB / 0.7071 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.116e-05/0.1776, allocations: 11.97 kB / 0.7071 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.178, allocations: 89.66 kB / 0.7072 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.068e-05/0.1781, allocations: 39.84 kB / 0.7072 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.1781, allocations: 0 / 0.7072 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.664e-05/0.1782, allocations: 19.92 kB / 0.7072 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.527e-05/0.1782, allocations: 15.98 kB / 0.7073 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.1782, allocations: 0 / 0.7073 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006284/0.1789, allocations: 239.5 kB / 0.7075 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.2e-05/0.1789, allocations: 7.984 kB / 0.7075 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.428e-05/0.1789, allocations: 11.92 kB / 0.7075 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.1791, allocations: 67.86 kB / 0.7076 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1791, allocations: 3.938 kB / 0.7076 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1791, allocations: 0 / 0.7076 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1791, allocations: 0 / 0.7076 GB, free: 12.82 MB / 0.5294 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.0003957/0.1795, allocations: 258.3 kB / 0.7078 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.1795, allocations: 12.03 kB / 0.7078 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.235e-05/0.1796, allocations: 192 / 0.7078 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.386e-05/0.1796, allocations: 34.73 kB / 0.7079 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.1796, allocations: 4.938 kB / 0.7079 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.914e-05/0.1797, allocations: 114.5 kB / 0.708 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.693e-05/0.1798, allocations: 55.91 kB / 0.708 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.1798, allocations: 11.94 kB / 0.708 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.18, allocations: 41.69 kB / 0.7081 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.18, allocations: 0 / 0.7081 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.18, allocations: 0 / 0.7081 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.18, allocations: 4 kB / 0.7081 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.031e-05/0.18, allocations: 19.92 kB / 0.7081 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.1805, allocations: 231.9 kB / 0.7083 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.193e-05/0.1805, allocations: 22.56 kB / 0.7084 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.88e-05/0.1805, allocations: 8.922 kB / 0.7084 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.95e-05/0.1806, allocations: 7.984 kB / 0.7084 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.1806, allocations: 30.56 kB / 0.7084 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1806, allocations: 0 / 0.7084 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001397/0.1808, allocations: 41.64 kB / 0.7084 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.1808, allocations: 51.53 kB / 0.7085 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.966e-05/0.1809, allocations: 109.8 kB / 0.7086 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1809, allocations: 25.7 kB / 0.7086 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.992e-05/0.1809, allocations: 84.09 kB / 0.7087 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.108e-06/0.181, allocations: 0 / 0.7087 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.181, allocations: 21.67 kB / 0.7087 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.1811, allocations: 318.8 kB / 0.709 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.569e-05/0.1811, allocations: 4 kB / 0.709 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.671e-05/0.1812, allocations: 21.66 kB / 0.709 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.058e-05/0.1812, allocations: 29.64 kB / 0.7091 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.1812, allocations: 0 / 0.7091 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.538e-05/0.1813, allocations: 45.64 kB / 0.7091 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.1813, allocations: 7.984 kB / 0.7091 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.1813, allocations: 0 / 0.7091 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1813, allocations: 4 kB / 0.7091 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.048e-05/0.1814, allocations: 8.062 kB / 0.7091 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.1814, allocations: 0 / 0.7091 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.771e-05/0.1814, allocations: 0 / 0.7091 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.1814, allocations: 7.938 kB / 0.7091 GB, free: 11 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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.056e-05/0.1815, allocations: 105.8 kB / 0.7092 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.1815, allocations: 4 kB / 0.7093 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.1816, allocations: 120.9 kB / 0.7094 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.688e-05/0.1817, allocations: 184.3 kB / 0.7095 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.098e-05/0.1818, allocations: 176.3 kB / 0.7097 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.54e-05/0.1819, allocations: 180.2 kB / 0.7099 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.1821, allocations: 388.2 kB / 0.7103 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.329e-05/0.1822, allocations: 108.9 kB / 0.7104 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.375e-05/0.1822, allocations: 101 kB / 0.7105 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.009e-05/0.1823, allocations: 192.2 kB / 0.7106 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.672e-05/0.1824, allocations: 180.2 kB / 0.7108 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-05/0.1825, allocations: 176.3 kB / 0.711 GB, free: 9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.301e-05/0.1825, allocations: 184.2 kB / 0.7112 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.1827, allocations: 319.7 kB / 0.7115 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.1828, allocations: 104.9 kB / 0.7116 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.308e-05/0.1829, allocations: 176.3 kB / 0.7117 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.1831, allocations: 112.9 kB / 0.7118 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-05/0.1831, allocations: 180.3 kB / 0.712 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-05/0.1832, allocations: 109 kB / 0.7121 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.108e-05/0.1832, allocations: 91.14 kB / 0.7122 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1832, allocations: 0 / 0.7122 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002711/0.1835, allocations: 12 kB / 0.7122 GB, free: 7.672 MB / 0.5294 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 (0): * Single equations (assignments): 0 * 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.0005119/0.184, allocations: 0.8243 MB / 0.713 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.675e-05/0.1841, allocations: 19.88 kB / 0.713 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1841, allocations: 0 / 0.713 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.1841, allocations: 0 / 0.713 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004711/0.1846, allocations: 457.9 kB / 0.7135 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.1857, allocations: 1.333 MB / 0.7148 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.186, allocations: 0.6729 MB / 0.7154 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.078e-05/0.1861, allocations: 11.98 kB / 0.7154 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.1861, allocations: 11.86 kB / 0.7154 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.1861, allocations: 0 / 0.7154 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.2076, allocations: 1.623 MB / 0.717 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.36, allocations: 9.672 kB / 0.717 GB, free: 2.742 MB / 0.5294 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.909742162912153] Failed to read output from testmodel.py, exit status != 0: 11.522962325019762 11.540091511 11.357722353 Calling exit ...