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.001509/0.001509, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001775/0.001775, allocations: 222.6 kB / 23.03 MB, free: 4.945 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.412/1.412, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.00247/0.00247, allocations: 281.4 kB / 313.5 MB, free: 2.641 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.183/1.183, allocations: 180.6 MB / 0.5377 GB, free: 14.6 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="cs",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.002696/0.002696, allocations: 99.09 kB / 0.7403 GB, free: 27.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1598, allocations: 95.38 MB / 0.8335 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006226/0.166, allocations: 3.901 MB / 0.8373 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003017/0.169, allocations: 2.224 MB / 0.8394 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.1691, allocations: 0 / 0.8394 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.1695, allocations: 43.69 kB / 0.8395 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004106/0.1699, allocations: 103.4 kB / 0.8396 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.1717, allocations: 0.5474 MB / 0.8401 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004834/0.1722, allocations: 267.9 kB / 0.8404 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.714e-05/0.1722, allocations: 5.75 kB / 0.8404 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.1725, allocations: 119.5 kB / 0.8405 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.1727, allocations: 99.64 kB / 0.8406 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.1727, allocations: 12 kB / 0.8406 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008807/0.1736, allocations: 407.3 kB / 0.841 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.463e-05/0.1737, allocations: 39.83 kB / 0.841 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.1738, allocations: 75.72 kB / 0.8411 GB, free: 472 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008198/0.1746, allocations: 403 kB / 0.8415 GB, free: 68 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1746, allocations: 4 kB / 0.8415 GB, free: 64 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1746, allocations: 0 / 0.8415 GB, free: 64 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.1746, allocations: 0 / 0.8415 GB, free: 64 kB / 0.5762 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.0008923/0.1755, allocations: 445.5 kB / 0.8419 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.1756, allocations: 12.75 kB / 0.8419 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.886e-05/0.1756, allocations: 8.516 kB / 0.8419 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.442e-05/0.1756, allocations: 50.73 kB / 0.842 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00222/0.1779, allocations: 192.6 kB / 0.8422 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.1782, allocations: 150.3 kB / 0.8423 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.1783, allocations: 12.7 kB / 0.8423 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.858e-05/0.1783, allocations: 20.12 kB / 0.8423 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000822/0.1791, allocations: 0.5024 MB / 0.8428 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.1792, allocations: 7.875 kB / 0.8428 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.1792, allocations: 12 kB / 0.8428 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.1792, allocations: 12 kB / 0.8428 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000728/0.1799, allocations: 255.6 kB / 0.8431 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.1817, allocations: 1.208 MB / 0.8443 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006754/0.1824, allocations: 184.2 kB / 0.8444 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.1826, allocations: 68.81 kB / 0.8445 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.1826, allocations: 11.92 kB / 0.8445 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.1827, allocations: 38.56 kB / 0.8446 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.552e-06/0.1827, allocations: 0 / 0.8446 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18): time 0.0007902/0.1835, allocations: 243.7 kB / 0.8448 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.1835, allocations: 55.41 kB / 0.8448 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.1837, allocations: 160.9 kB / 0.845 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.1837, allocations: 29.7 kB / 0.845 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.83e-05/0.1838, allocations: 136.1 kB / 0.8452 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.877e-05/0.1839, allocations: 59.48 kB / 0.8452 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.952e-05/0.184, allocations: 53.88 kB / 0.8453 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1841, allocations: 330.8 kB / 0.8456 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.1844, allocations: 64.41 kB / 0.8456 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002833/0.1846, allocations: 147 kB / 0.8458 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004935/0.1851, allocations: 230.9 kB / 0.846 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1851, allocations: 0 / 0.846 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006142/0.1857, allocations: 245.5 kB / 0.8462 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1858, allocations: 8.062 kB / 0.8462 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.1858, allocations: 7.938 kB / 0.8463 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1858, allocations: 4 kB / 0.8463 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/0.1862, allocations: 63.95 kB / 0.8463 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.1862, allocations: 7.938 kB / 0.8463 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.1864, allocations: 27.88 kB / 0.8464 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.1865, allocations: 12 kB / 0.8464 GB, free: 10.69 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.0001446/0.1866, allocations: 141.6 kB / 0.8465 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/0.1867, allocations: 15.91 kB / 0.8465 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006263/0.1873, allocations: 224.7 kB / 0.8467 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1873, allocations: 4 kB / 0.8467 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1873, allocations: 3.984 kB / 0.8467 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1873, allocations: 0 / 0.8467 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.1876, allocations: 208.4 kB / 0.8469 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1876, allocations: 0 / 0.8469 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003353/0.1879, allocations: 55.91 kB / 0.847 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1879, allocations: 4 kB / 0.847 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.188, allocations: 7.984 kB / 0.847 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.188, allocations: 0 / 0.847 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.188, allocations: 0 / 0.847 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005868/0.1886, allocations: 295.3 kB / 0.8473 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.259e-05/0.1886, allocations: 35.88 kB / 0.8473 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.1887, allocations: 0 / 0.8473 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.189, allocations: 23.98 kB / 0.8473 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.189, allocations: 11.97 kB / 0.8474 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.189, allocations: 8 kB / 0.8474 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.153e-05/0.1891, allocations: 127 kB / 0.8475 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.1891, allocations: 3.938 kB / 0.8475 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003611/0.1895, allocations: 59.94 kB / 0.8475 GB, free: 9.406 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.0009798/0.1904, allocations: 0.8708 MB / 0.8484 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005366/0.191, allocations: 186.3 kB / 0.8486 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.191, allocations: 0 / 0.8486 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002305/0.1912, allocations: 79.88 kB / 0.8486 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004743/0.1917, allocations: 61.45 kB / 0.8487 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003462/0.1951, allocations: 2.173 MB / 0.8508 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.1953, allocations: 95.12 kB / 0.8509 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002741/0.1955, allocations: 57.92 kB / 0.851 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.1957, allocations: 47.41 kB / 0.851 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of SimCode: time 1.112e-06/0.1957, allocations: 0 / 0.851 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.2227, allocations: 5.773 MB / 0.8567 GB, free: 168 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.24, allocations: 15.48 kB / 0.8567 GB, free: 156 kB / 0.5919 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: 15.287417505984195] Failed to read output from testmodel.py, exit status != 0: 11.404448098037392 11.430779206 11.25142453 Calling exit ...