Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001278/0.001278, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001498/0.001498, allocations: 209.9 kB / 22.24 MB, free: 5.262 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.4/1.4, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002474/0.002474, allocations: 286.2 kB / 312.7 MB, free: 2.629 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.172/1.172, allocations: 180.6 MB / 0.5369 GB, free: 14.55 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002835/0.002835, allocations: 101.3 kB / 0.7396 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1573, allocations: 95.38 MB / 0.8327 GB, free: 8.277 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005977/0.1632, allocations: 3.904 MB / 0.8365 GB, free: 4.344 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.002967/0.1662, allocations: 2.224 MB / 0.8387 GB, free: 2.113 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.1663, allocations: 0 / 0.8387 GB, free: 2.113 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.1666, allocations: 47.69 kB / 0.8387 GB, free: 2.066 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.000309/0.1669, allocations: 99.34 kB / 0.8388 GB, free: 1.969 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.1683, allocations: 0.5452 MB / 0.8394 GB, free: 1.426 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0003554/0.1687, allocations: 271.8 kB / 0.8396 GB, free: 1.16 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.697e-05/0.1687, allocations: 5.75 kB / 0.8396 GB, free: 1.156 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.169, allocations: 119.6 kB / 0.8397 GB, free: 1.039 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.1691, allocations: 95.59 kB / 0.8398 GB, free: 0.9453 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.1692, allocations: 8 kB / 0.8398 GB, free: 0.9375 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008293/0.17, allocations: 399.3 kB / 0.8402 GB, free: 0.5469 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 8.931e-05/0.1701, allocations: 31.91 kB / 0.8402 GB, free: 0.5156 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 9.921e-05/0.1702, allocations: 79.66 kB / 0.8403 GB, free: 448 kB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0008427/0.171, allocations: 403 kB / 0.8407 GB, free: 44 kB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.171, allocations: 4 kB / 0.8407 GB, free: 40 kB / 0.5763 GB Notification: Performance of FrontEnd: time 1.713e-06/0.171, allocations: 0 / 0.8407 GB, free: 40 kB / 0.5763 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.1711, allocations: 4 kB / 0.8407 GB, free: 36 kB / 0.5763 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.000955/0.172, allocations: 449.4 kB / 0.8411 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.1721, allocations: 12.75 kB / 0.8412 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.286e-05/0.1721, allocations: 50.73 kB / 0.8412 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002078/0.1742, allocations: 188.6 kB / 0.8414 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.1746, allocations: 150.3 kB / 0.8415 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.1746, allocations: 16.7 kB / 0.8415 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/0.1746, allocations: 16.31 kB / 0.8416 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008302/0.1755, allocations: 0.5102 MB / 0.8421 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1755, allocations: 4 kB / 0.8421 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.1755, allocations: 8 kB / 0.8421 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.1755, allocations: 8 kB / 0.8421 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007095/0.1762, allocations: 251.6 kB / 0.8423 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.178, allocations: 1.204 MB / 0.8435 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006687/0.1786, allocations: 178.5 kB / 0.8437 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.1789, allocations: 80.75 kB / 0.8437 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.1789, allocations: 3.938 kB / 0.8437 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.1789, allocations: 34.56 kB / 0.8438 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.1789, allocations: 0 / 0.8438 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18): time 0.0007987/0.1797, allocations: 250.9 kB / 0.844 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.1798, allocations: 55.39 kB / 0.8441 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.1799, allocations: 168.9 kB / 0.8442 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.18, allocations: 29.7 kB / 0.8443 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.594e-05/0.1801, allocations: 124.3 kB / 0.8444 GB, free: 12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.699e-05/0.1801, allocations: 67.42 kB / 0.8444 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.099e-05/0.1802, allocations: 49.92 kB / 0.8445 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1803, allocations: 326.8 kB / 0.8448 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.1806, allocations: 64.42 kB / 0.8449 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.1808, allocations: 155.2 kB / 0.845 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005151/0.1813, allocations: 215.4 kB / 0.8452 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1813, allocations: 0 / 0.8452 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009029/0.1822, allocations: 249.3 kB / 0.8455 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.1823, allocations: 8 kB / 0.8455 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1823, allocations: 0 / 0.8455 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.1823, allocations: 7.984 kB / 0.8455 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005452/0.1828, allocations: 71.89 kB / 0.8455 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.1828, allocations: 4 kB / 0.8455 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003366/0.1832, allocations: 36.05 kB / 0.8456 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.1832, allocations: 12 kB / 0.8456 GB, free: 10.68 MB / 0.5919 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.0001627/0.1834, allocations: 133 kB / 0.8457 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.608e-05/0.1835, allocations: 15.91 kB / 0.8457 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007802/0.1842, allocations: 236.6 kB / 0.846 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1842, allocations: 4 kB / 0.846 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1843, allocations: 4 kB / 0.846 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1843, allocations: 3.984 kB / 0.846 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.1846, allocations: 216.3 kB / 0.8462 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1846, allocations: 0 / 0.8462 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003254/0.1849, allocations: 51.95 kB / 0.8462 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.1849, allocations: 4 kB / 0.8462 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.1849, allocations: 4 kB / 0.8462 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.1849, allocations: 3.984 kB / 0.8462 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1849, allocations: 3.938 kB / 0.8462 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006332/0.1856, allocations: 295.3 kB / 0.8465 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.1857, allocations: 27.98 kB / 0.8465 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.1857, allocations: 8 kB / 0.8466 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/0.186, allocations: 15.98 kB / 0.8466 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.186, allocations: 11.97 kB / 0.8466 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/0.186, allocations: 12 kB / 0.8466 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.871e-05/0.1861, allocations: 117.5 kB / 0.8467 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1861, allocations: 0 / 0.8467 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003707/0.1865, allocations: 63.95 kB / 0.8468 GB, free: 9.398 MB / 0.5919 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.0009856/0.1875, allocations: 0.8728 MB / 0.8476 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005276/0.188, allocations: 178.1 kB / 0.8478 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.188, allocations: 0 / 0.8478 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002293/0.1883, allocations: 83.88 kB / 0.8479 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.1887, allocations: 60.81 kB / 0.8479 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003249/0.192, allocations: 2.169 MB / 0.85 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.1921, allocations: 107.1 kB / 0.8501 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002633/0.1924, allocations: 49.92 kB / 0.8502 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.1925, allocations: 51.41 kB / 0.8502 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/0.1925, allocations: 0 / 0.8502 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/0.224, allocations: 6.065 MB / 0.8562 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.03, allocations: 5.625 kB / 0.8562 GB, free: 15.85 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.973614778835326] Failed to read output from testmodel.py, exit status != 0: 11.135507138911635 11.15095644 10.976915361 Calling exit ...