Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.00132/0.00132, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001492/0.001492, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.491/1.491, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.8408/0.8408, allocations: 133.9 MB / 443.5 MB, free: 13.92 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.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.001985/0.001985, allocations: 66.27 kB / 0.6142 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1427, allocations: 85.86 MB / 0.698 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006052/0.1487, allocations: 4.138 MB / 0.702 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002965/0.1517, allocations: 2.448 MB / 0.7044 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.828e-05/0.1518, allocations: 0 / 0.7044 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.1521, allocations: 47.67 kB / 0.7045 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000317/0.1524, allocations: 111.3 kB / 0.7046 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.1538, allocations: 0.544 MB / 0.7051 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003711/0.1542, allocations: 259.9 kB / 0.7054 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.1543, allocations: 9.562 kB / 0.7054 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.1545, allocations: 115.5 kB / 0.7055 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.1546, allocations: 103.6 kB / 0.7056 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.1547, allocations: 12 kB / 0.7056 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009219/0.1556, allocations: 475.2 kB / 0.706 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.689e-05/0.1557, allocations: 47.77 kB / 0.7061 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.532e-05/0.1558, allocations: 75.66 kB / 0.7062 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006703/0.1564, allocations: 422.3 kB / 0.7066 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1564, allocations: 0 / 0.7066 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1564, allocations: 0 / 0.7066 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.1564, allocations: 0 / 0.7066 GB, free: 6.055 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.000868/0.1573, allocations: 0.5103 MB / 0.7071 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.1574, allocations: 13.7 kB / 0.7071 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.661e-05/0.1574, allocations: 4.516 kB / 0.7071 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.693e-05/0.1574, allocations: 58.67 kB / 0.7071 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002136/0.1596, allocations: 188.6 kB / 0.7073 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.1599, allocations: 216.1 kB / 0.7075 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.1599, allocations: 8.703 kB / 0.7075 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/0.16, allocations: 20.12 kB / 0.7075 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006665/0.1606, allocations: 304.9 kB / 0.7078 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1606, allocations: 4 kB / 0.7078 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.1607, allocations: 4 kB / 0.7078 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.1607, allocations: 12 kB / 0.7079 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007528/0.1615, allocations: 260.1 kB / 0.7081 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.1631, allocations: 1.389 MB / 0.7095 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006862/0.1638, allocations: 185.3 kB / 0.7096 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.1641, allocations: 72.81 kB / 0.7097 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.1641, allocations: 4 kB / 0.7097 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.1641, allocations: 34.56 kB / 0.7097 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.1641, allocations: 0 / 0.7097 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0008616/0.165, allocations: 246.8 kB / 0.71 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.165, allocations: 63.34 kB / 0.71 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.1652, allocations: 153.7 kB / 0.7102 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.1652, allocations: 33.64 kB / 0.7102 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.082e-05/0.1653, allocations: 140.1 kB / 0.7104 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.68e-05/0.1654, allocations: 63.47 kB / 0.7104 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.1655, allocations: 57.88 kB / 0.7105 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.1656, allocations: 330.8 kB / 0.7108 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.1658, allocations: 64.42 kB / 0.7108 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.1661, allocations: 140.4 kB / 0.711 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000516/0.1666, allocations: 214.9 kB / 0.7112 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1666, allocations: 0 / 0.7112 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006279/0.1672, allocations: 251 kB / 0.7114 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1673, allocations: 8 kB / 0.7114 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1673, allocations: 0 / 0.7114 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.1673, allocations: 8.312 kB / 0.7114 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.1677, allocations: 67.89 kB / 0.7115 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.1677, allocations: 7.984 kB / 0.7115 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.1679, allocations: 27.84 kB / 0.7115 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.1679, allocations: 15.98 kB / 0.7116 GB, free: 0.5586 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 0.0001319/0.1681, allocations: 133.7 kB / 0.7117 GB, free: 428 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.709e-05/0.1681, allocations: 15.91 kB / 0.7117 GB, free: 412 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006847/0.1688, allocations: 238.6 kB / 0.7119 GB, free: 168 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1688, allocations: 4 kB / 0.7119 GB, free: 164 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1688, allocations: 0 / 0.7119 GB, free: 164 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1688, allocations: 0 / 0.7119 GB, free: 164 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.1691, allocations: 241.4 kB / 0.7122 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1691, allocations: 4 kB / 0.7122 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.1694, allocations: 43.91 kB / 0.7122 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1694, allocations: 0 / 0.7122 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.1695, allocations: 15.92 kB / 0.7122 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.1695, allocations: 0 / 0.7122 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1695, allocations: 4 kB / 0.7122 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005937/0.1701, allocations: 294 kB / 0.7125 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.1702, allocations: 108.9 kB / 0.7126 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.1702, allocations: 0 / 0.7126 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.1705, allocations: 23.98 kB / 0.7126 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.1705, allocations: 11.98 kB / 0.7126 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.1706, allocations: 11.98 kB / 0.7127 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.498e-05/0.1707, allocations: 115.2 kB / 0.7128 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1707, allocations: 0 / 0.7128 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003737/0.171, allocations: 59.94 kB / 0.7128 GB, free: 15.16 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 (20): * Single equations (assignments): 20 * 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.001004/0.172, allocations: 0.8761 MB / 0.7137 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005708/0.1726, allocations: 173.4 kB / 0.7138 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1726, allocations: 3.938 kB / 0.7138 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.1728, allocations: 80.52 kB / 0.7139 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/0.1733, allocations: 61.5 kB / 0.714 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003341/0.1767, allocations: 2.158 MB / 0.7161 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.177, allocations: 0.7215 MB / 0.7168 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002455/0.1772, allocations: 49.92 kB / 0.7168 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.1774, allocations: 47.41 kB / 0.7169 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of SimCode: time 5.61e-07/0.1774, allocations: 0 / 0.7169 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.1993, allocations: 5.267 MB / 0.722 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.335/8.534, allocations: 21.42 kB / 0.722 GB, free: 5.77 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.250837206025608] Failed to read output from testmodel.py, exit status != 0: 8.917985203035641 8.687063768 8.525834918 Calling exit ...