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.001288/0.001288, 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.001479/0.001479, allocations: 209.5 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.419/1.419, allocations: 230.6 MB / 256 MB, free: 7.746 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.00253/0.00253, allocations: 293.6 kB / 312.7 MB, free: 2.594 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.17/1.17, allocations: 180.6 MB / 0.5369 GB, free: 14.62 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.002845/0.002845, allocations: 110.7 kB / 0.7396 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1598, allocations: 95.38 MB / 0.8327 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005826/0.1657, allocations: 3.9 MB / 0.8365 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003011/0.1687, allocations: 2.224 MB / 0.8387 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.141e-05/0.1688, allocations: 0 / 0.8387 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.1691, allocations: 43.69 kB / 0.8387 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.1694, allocations: 103.4 kB / 0.8388 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.1708, allocations: 0.552 MB / 0.8394 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003577/0.1711, allocations: 267.8 kB / 0.8396 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.1712, allocations: 5.75 kB / 0.8396 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.1714, allocations: 119.6 kB / 0.8397 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.1716, allocations: 91.59 kB / 0.8398 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.1716, allocations: 8 kB / 0.8398 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008138/0.1724, allocations: 403.3 kB / 0.8402 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.621e-05/0.1725, allocations: 47.81 kB / 0.8403 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.284e-05/0.1726, allocations: 67.78 kB / 0.8403 GB, free: 456 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006264/0.1732, allocations: 403 kB / 0.8407 GB, free: 52 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1732, allocations: 0 / 0.8407 GB, free: 52 kB / 0.5762 GB Notification: Performance of FrontEnd: time 8.62e-07/0.1732, allocations: 0 / 0.8407 GB, free: 52 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1732, allocations: 0 / 0.8407 GB, free: 52 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.0007681/0.174, allocations: 449.4 kB / 0.8411 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.174, allocations: 9.641 kB / 0.8411 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.264e-05/0.1741, allocations: 62.61 kB / 0.8412 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001983/0.1761, allocations: 188.6 kB / 0.8414 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003451/0.1764, allocations: 154.3 kB / 0.8415 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.1764, allocations: 16.7 kB / 0.8416 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/0.1765, allocations: 16.38 kB / 0.8416 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007948/0.1773, allocations: 0.5024 MB / 0.8421 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1773, allocations: 4 kB / 0.8421 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.1773, allocations: 4 kB / 0.8421 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.1773, allocations: 8 kB / 0.8421 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007021/0.178, allocations: 255.6 kB / 0.8423 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.1797, allocations: 1.215 MB / 0.8435 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006715/0.1804, allocations: 182.4 kB / 0.8437 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.1806, allocations: 72.81 kB / 0.8437 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.1806, allocations: 0 / 0.8437 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.1806, allocations: 38.56 kB / 0.8438 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.113e-06/0.1806, allocations: 0 / 0.8438 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18): time 0.0007821/0.1814, allocations: 245.4 kB / 0.844 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.1815, allocations: 51.41 kB / 0.8441 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.1816, allocations: 164.8 kB / 0.8442 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.1816, allocations: 29.7 kB / 0.8443 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.267e-05/0.1817, allocations: 136.2 kB / 0.8444 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.792e-05/0.1818, allocations: 67.38 kB / 0.8444 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.45e-05/0.1819, allocations: 49.92 kB / 0.8445 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.182, allocations: 326.8 kB / 0.8448 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.1823, allocations: 64.42 kB / 0.8449 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002732/0.1825, allocations: 147 kB / 0.845 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004929/0.183, allocations: 212.3 kB / 0.8452 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.183, allocations: 8 kB / 0.8452 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005895/0.1836, allocations: 245.2 kB / 0.8455 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.1836, allocations: 8 kB / 0.8455 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1836, allocations: 8.25 kB / 0.8455 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.1837, allocations: 8 kB / 0.8455 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.184, allocations: 67.89 kB / 0.8455 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.227e-05/0.1841, allocations: 11.97 kB / 0.8455 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.1843, allocations: 31.78 kB / 0.8456 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.1843, allocations: 11.98 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.0001305/0.1844, allocations: 129.7 kB / 0.8457 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-05/0.1845, allocations: 15.91 kB / 0.8457 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006428/0.1851, allocations: 241.1 kB / 0.846 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1851, allocations: 4 kB / 0.846 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1851, allocations: 0 / 0.846 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1851, allocations: 3.938 kB / 0.846 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.1855, allocations: 216.4 kB / 0.8462 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1855, allocations: 0 / 0.8462 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.1858, allocations: 55.89 kB / 0.8462 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1858, allocations: 0 / 0.8462 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.1858, allocations: 4 kB / 0.8462 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1858, allocations: 8 kB / 0.8462 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1858, allocations: 0 / 0.8462 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005678/0.1864, allocations: 299.2 kB / 0.8465 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.929e-05/0.1864, allocations: 23.98 kB / 0.8465 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.1865, allocations: 4 kB / 0.8466 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.1867, allocations: 15.98 kB / 0.8466 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.1868, allocations: 11.98 kB / 0.8466 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.1868, allocations: 15.98 kB / 0.8466 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001028/0.1869, allocations: 119.2 kB / 0.8467 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1869, allocations: 0 / 0.8467 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000361/0.1873, allocations: 63.95 kB / 0.8468 GB, free: 9.402 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.001003/0.1883, allocations: 0.8786 MB / 0.8476 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005203/0.1888, allocations: 172.4 kB / 0.8478 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.1888, allocations: 4 kB / 0.8478 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.189, allocations: 79.83 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.0004676/0.1895, allocations: 62.17 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.003375/0.1928, allocations: 2.17 MB / 0.85 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.193, allocations: 103.1 kB / 0.8501 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002652/0.1932, allocations: 49.92 kB / 0.8502 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.1933, allocations: 47.42 kB / 0.8502 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of SimCode: time 6.22e-07/0.1933, allocations: 4 kB / 0.8502 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03324/0.2266, allocations: 6.069 MB / 0.8562 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.03, allocations: 7.875 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.08785503404215] Failed to read output from testmodel.py, exit status != 0: 11.134699320420623 11.150594871 10.974351153 Calling exit ...