Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterProperties.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.001671/0.001671, allocations: 124.9 kB / 17.17 MB, free: 5.918 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.001818/0.001818, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.441/1.441, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.8642/0.8642, allocations: 133.9 MB / 443.5 MB, free: 13.84 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.WaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterProperties",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.001977/0.001977, allocations: 66.48 kB / 0.6141 GB, free: 38.26 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1477, allocations: 85.85 MB / 0.698 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.007103/0.1548, allocations: 4.811 MB / 0.7027 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003146/0.1579, allocations: 2.728 MB / 0.7053 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.788e-05/0.158, allocations: 0 / 0.7053 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.1583, allocations: 43.69 kB / 0.7054 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.1586, allocations: 103.3 kB / 0.7055 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.1598, allocations: 0.513 MB / 0.706 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002965/0.1601, allocations: 235.9 kB / 0.7062 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.215e-05/0.1602, allocations: 5.562 kB / 0.7062 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.1604, allocations: 119.6 kB / 0.7063 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.1605, allocations: 99.58 kB / 0.7064 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.1605, allocations: 8 kB / 0.7064 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006995/0.1612, allocations: 387.3 kB / 0.7068 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.016e-05/0.1613, allocations: 39.89 kB / 0.7068 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.845e-05/0.1614, allocations: 75.66 kB / 0.7069 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005835/0.162, allocations: 373.8 kB / 0.7073 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.162, allocations: 0 / 0.7073 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.292e-06/0.162, allocations: 0 / 0.7073 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.162, allocations: 0 / 0.7073 GB, free: 5.359 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008547/0.1629, allocations: 0.5142 MB / 0.7078 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1629, allocations: 9.703 kB / 0.7078 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.528e-05/0.1629, allocations: 8.516 kB / 0.7078 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.363e-05/0.163, allocations: 50.73 kB / 0.7078 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.1632, allocations: 24.84 kB / 0.7079 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.1634, allocations: 216.1 kB / 0.7081 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.1634, allocations: 12.7 kB / 0.7081 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.1635, allocations: 16.12 kB / 0.7081 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004027/0.1639, allocations: 252.7 kB / 0.7083 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1639, allocations: 3.984 kB / 0.7083 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.1639, allocations: 12 kB / 0.7083 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.557e-05/0.1639, allocations: 4 kB / 0.7083 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00054/0.1645, allocations: 427.5 kB / 0.7088 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.1657, allocations: 0.9567 MB / 0.7097 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.166, allocations: 151.6 kB / 0.7098 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.621e-05/0.1661, allocations: 56.83 kB / 0.7099 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001483/0.1676, allocations: 1.829 MB / 0.7117 GB, free: 272 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.1676, allocations: 38.56 kB / 0.7117 GB, free: 224 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.1676, allocations: 0 / 0.7117 GB, free: 224 kB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.000344/0.168, allocations: 148.1 kB / 0.7119 GB, free: 72 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.168, allocations: 59.39 kB / 0.7119 GB, free: 0 / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.1682, allocations: 165.5 kB / 0.7121 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.1682, allocations: 37.64 kB / 0.7121 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.536e-05/0.1683, allocations: 140 kB / 0.7122 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.496e-05/0.1684, allocations: 59.53 kB / 0.7123 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.643e-05/0.1684, allocations: 49.7 kB / 0.7123 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1686, allocations: 326.8 kB / 0.7127 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.163e-05/0.1686, allocations: 39.97 kB / 0.7127 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.1688, allocations: 143.2 kB / 0.7128 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.169, allocations: 197.5 kB / 0.713 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.169, allocations: 0 / 0.713 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003444/0.1694, allocations: 223.9 kB / 0.7132 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1694, allocations: 7.938 kB / 0.7132 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1694, allocations: 4 kB / 0.7132 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.1694, allocations: 11.94 kB / 0.7133 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.1696, allocations: 51.92 kB / 0.7133 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.1696, allocations: 4 kB / 0.7133 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.1697, allocations: 31.77 kB / 0.7133 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.1697, allocations: 12 kB / 0.7133 GB, free: 14.38 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001185/0.1699, allocations: 137.9 kB / 0.7135 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.1699, allocations: 15.91 kB / 0.7135 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003157/0.1702, allocations: 158.9 kB / 0.7136 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.1702, allocations: 0 / 0.7136 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1702, allocations: 4 kB / 0.7136 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1703, allocations: 3.984 kB / 0.7137 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.1705, allocations: 209.6 kB / 0.7139 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1705, allocations: 7.938 kB / 0.7139 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.885e-05/0.1706, allocations: 19.98 kB / 0.7139 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1706, allocations: 4 kB / 0.7139 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1706, allocations: 11.94 kB / 0.7139 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1706, allocations: 0 / 0.7139 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1706, allocations: 0 / 0.7139 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.1709, allocations: 231.3 kB / 0.7141 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.171, allocations: 105 kB / 0.7142 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.171, allocations: 3.938 kB / 0.7142 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.1712, allocations: 15.98 kB / 0.7142 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.1713, allocations: 11.98 kB / 0.7142 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.1713, allocations: 15.98 kB / 0.7143 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001012/0.1714, allocations: 126.5 kB / 0.7144 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1714, allocations: 0 / 0.7144 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003869/0.1718, allocations: 79.81 kB / 0.7145 GB, free: 13.15 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.000822/0.1726, allocations: 0.8312 MB / 0.7153 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002443/0.1728, allocations: 116.5 kB / 0.7154 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1728, allocations: 0 / 0.7154 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.066e-05/0.1729, allocations: 45.88 kB / 0.7154 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.1733, allocations: 51.94 kB / 0.7155 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.1756, allocations: 2.045 MB / 0.7175 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.176, allocations: 0.7206 MB / 0.7182 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001406/0.1761, allocations: 45.89 kB / 0.7182 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.189e-05/0.1762, allocations: 43.42 kB / 0.7183 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.1762, allocations: 4 kB / 0.7183 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.1981, allocations: 5.348 MB / 0.7235 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.501/8.699, allocations: 10.61 kB / 0.7235 GB, free: 3.809 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.40417446900392] Failed to read output from testmodel.py, exit status != 0: 9.087386804982089 8.85255521 8.685895848 Calling exit ...