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.00139/0.00139, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001621/0.001621, allocations: 211.3 kB / 22.25 MB, free: 5.086 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 8.02 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.8499/0.8499, allocations: 134 MB / 446.4 MB, free: 10.21 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",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.001981/0.001981, allocations: 66.2 kB / 0.6185 GB, free: 7.227 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1683, allocations: 85.92 MB / 0.7024 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006145/0.1744, allocations: 3.831 MB / 0.7062 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002423/0.1746, allocations: 163.5 kB / 0.7063 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.151e-05/0.1747, allocations: 0 / 0.7063 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.571e-05/0.1748, allocations: 7.938 kB / 0.7063 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.456e-05/0.1748, allocations: 3.984 kB / 0.7063 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.1752, allocations: 91.69 kB / 0.7064 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.69e-05/0.1753, allocations: 31.84 kB / 0.7065 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.1754, allocations: 4 kB / 0.7065 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.285e-05/0.1754, allocations: 27.91 kB / 0.7065 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.543e-05/0.1755, allocations: 7.984 kB / 0.7065 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.1755, allocations: 4 kB / 0.7065 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006801/0.1762, allocations: 239.5 kB / 0.7067 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.966e-05/0.1762, allocations: 4 kB / 0.7067 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.1762, allocations: 15.92 kB / 0.7067 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.1764, allocations: 59.86 kB / 0.7068 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1764, allocations: 3.938 kB / 0.7068 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1764, allocations: 4 kB / 0.7068 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.1764, allocations: 0 / 0.7068 GB, free: 12.87 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.000403/0.1768, allocations: 262.3 kB / 0.7071 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.1768, allocations: 8.031 kB / 0.7071 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.923e-05/0.1769, allocations: 38.69 kB / 0.7071 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.1769, allocations: 4.938 kB / 0.7071 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.177, allocations: 110.5 kB / 0.7072 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-05/0.1771, allocations: 59.95 kB / 0.7073 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.1771, allocations: 8.125 kB / 0.7073 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.1773, allocations: 41.67 kB / 0.7073 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1773, allocations: 0 / 0.7073 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1773, allocations: 4 kB / 0.7073 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.1773, allocations: 3.984 kB / 0.7073 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.778e-05/0.1773, allocations: 19.92 kB / 0.7073 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.1778, allocations: 231.9 kB / 0.7076 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.875e-05/0.1778, allocations: 22.58 kB / 0.7076 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.437e-05/0.1778, allocations: 4.859 kB / 0.7076 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.422e-05/0.1779, allocations: 4.062 kB / 0.7076 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1779, allocations: 34.56 kB / 0.7076 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1779, allocations: 4 kB / 0.7076 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001429/0.1781, allocations: 37.62 kB / 0.7077 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.1781, allocations: 51.53 kB / 0.7077 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.1782, allocations: 105.9 kB / 0.7078 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.1782, allocations: 25.7 kB / 0.7078 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.1783, allocations: 88.08 kB / 0.7079 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.579e-06/0.1783, allocations: 0 / 0.7079 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.1783, allocations: 21.67 kB / 0.7079 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1785, allocations: 318.8 kB / 0.7082 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.637e-05/0.1785, allocations: 3.984 kB / 0.7083 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.398e-05/0.1785, allocations: 21.72 kB / 0.7083 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.936e-05/0.1786, allocations: 25.59 kB / 0.7083 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1786, allocations: 0 / 0.7083 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001051/0.1787, allocations: 49.62 kB / 0.7083 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1787, allocations: 4 kB / 0.7083 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1787, allocations: 4 kB / 0.7084 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1787, allocations: 0 / 0.7084 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.403e-05/0.1787, allocations: 8.062 kB / 0.7084 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1787, allocations: 3.984 kB / 0.7084 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.1788, allocations: 4 kB / 0.7084 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1788, allocations: 0 / 0.7084 GB, free: 11.05 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 7.961e-05/0.1789, allocations: 113.8 kB / 0.7085 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.1789, allocations: 4 kB / 0.7085 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.179, allocations: 120.9 kB / 0.7086 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.959e-05/0.1791, allocations: 180.3 kB / 0.7088 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.249e-05/0.1792, allocations: 180.3 kB / 0.7089 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.433e-05/0.1792, allocations: 180.2 kB / 0.7091 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.1795, allocations: 392.1 kB / 0.7095 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.223e-05/0.1796, allocations: 104.9 kB / 0.7096 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.426e-05/0.1796, allocations: 109 kB / 0.7097 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.157e-05/0.1797, allocations: 180.2 kB / 0.7099 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.267e-05/0.1798, allocations: 180.2 kB / 0.71 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-05/0.1798, allocations: 180.3 kB / 0.7102 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.087e-05/0.1799, allocations: 184.2 kB / 0.7104 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.1801, allocations: 315.7 kB / 0.7107 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.1802, allocations: 104.9 kB / 0.7108 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.837e-05/0.1803, allocations: 180.3 kB / 0.711 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.1804, allocations: 112.9 kB / 0.7111 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.816e-05/0.1805, allocations: 180.3 kB / 0.7112 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/0.1805, allocations: 105 kB / 0.7113 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.918e-05/0.1806, allocations: 87.27 kB / 0.7114 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1806, allocations: 3.938 kB / 0.7114 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002562/0.1809, allocations: 15.94 kB / 0.7114 GB, free: 7.715 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.0005336/0.1814, allocations: 0.8241 MB / 0.7122 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.809e-05/0.1815, allocations: 15.92 kB / 0.7123 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.1815, allocations: 3.938 kB / 0.7123 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-06/0.1815, allocations: 4 kB / 0.7123 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/0.182, allocations: 455.7 kB / 0.7127 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.1831, allocations: 1.321 MB / 0.714 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.1835, allocations: 0.6768 MB / 0.7146 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.299e-05/0.1835, allocations: 8.422 kB / 0.7147 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.1835, allocations: 7.438 kB / 0.7147 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1835, allocations: 0 / 0.7147 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/0.2135, allocations: 1.616 MB / 0.7162 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.26, allocations: 0 / 0.7162 GB, free: 2.801 MB / 0.5294 GB " [Timeout remaining time 649] (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.97301791398786] Failed to read output from testmodel.py, exit status != 0: 11.359258339041844 11.385425663 11.205431158 Calling exit ...