Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001258/0.001258, allocations: 107.6 kB / 18.95 MB, free: 2.828 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.001771/0.001771, allocations: 219.1 kB / 22.25 MB, free: 5.105 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.379/1.379, allocations: 230.6 MB / 256 MB, free: 7.812 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.003024/0.003024, allocations: 289.8 kB / 312.7 MB, free: 2.609 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.194/1.194, 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.Examples.WaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterProperties",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.002864/0.002864, allocations: 109.3 kB / 0.7395 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1657, allocations: 95.38 MB / 0.8327 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.006211/0.1719, allocations: 4.505 MB / 0.8371 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002998/0.1749, allocations: 2.465 MB / 0.8395 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.8e-05/0.175, allocations: 4 kB / 0.8395 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.1753, allocations: 47.62 kB / 0.8395 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.1755, allocations: 99.34 kB / 0.8396 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.1769, allocations: 0.5228 MB / 0.8401 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.1772, allocations: 228 kB / 0.8404 GB, free: 312 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.1772, allocations: 9.75 kB / 0.8404 GB, free: 304 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.1774, allocations: 119.5 kB / 0.8405 GB, free: 184 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.1776, allocations: 87.64 kB / 0.8406 GB, free: 96 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.1776, allocations: 8 kB / 0.8406 GB, free: 88 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006744/0.1783, allocations: 319.4 kB / 0.8409 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.854e-05/0.1784, allocations: 35.83 kB / 0.8409 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.296e-05/0.1784, allocations: 79.72 kB / 0.841 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005537/0.179, allocations: 359.1 kB / 0.8413 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.179, allocations: 0 / 0.8413 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/0.179, allocations: 4 kB / 0.8413 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.179, allocations: 0 / 0.8413 GB, free: 15.3 MB / 0.5919 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.0007339/0.1797, allocations: 433.5 kB / 0.8417 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.1798, allocations: 13.34 kB / 0.8418 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.322e-05/0.1799, allocations: 50.72 kB / 0.8418 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.18, allocations: 28.77 kB / 0.8418 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.1803, allocations: 170.2 kB / 0.842 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.1803, allocations: 12.7 kB / 0.842 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.1803, allocations: 12.38 kB / 0.842 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005274/0.1809, allocations: 492 kB / 0.8425 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1809, allocations: 0 / 0.8425 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.1809, allocations: 8 kB / 0.8425 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.467e-05/0.1809, allocations: 4 kB / 0.8425 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005896/0.1815, allocations: 427.3 kB / 0.8429 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.1827, allocations: 0.8124 MB / 0.8437 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.1831, allocations: 159.5 kB / 0.8439 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.92e-05/0.1832, allocations: 56.88 kB / 0.8439 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007996/0.184, allocations: 455.9 kB / 0.8443 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.184, allocations: 34.56 kB / 0.8444 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.184, allocations: 0 / 0.8444 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0003397/0.1843, allocations: 161.4 kB / 0.8445 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.1844, allocations: 51.41 kB / 0.8446 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.1845, allocations: 179.8 kB / 0.8447 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.1846, allocations: 33.7 kB / 0.8448 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.723e-05/0.1847, allocations: 140.1 kB / 0.8449 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.1847, allocations: 55.53 kB / 0.845 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.868e-05/0.1848, allocations: 53.66 kB / 0.845 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1849, allocations: 322.8 kB / 0.8453 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.295e-05/0.185, allocations: 39.97 kB / 0.8454 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.1852, allocations: 143.4 kB / 0.8455 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.1854, allocations: 196.2 kB / 0.8457 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.1854, allocations: 8 kB / 0.8457 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003423/0.1858, allocations: 213.1 kB / 0.8459 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1858, allocations: 8 kB / 0.8459 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.1858, allocations: 4.469 kB / 0.8459 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.1858, allocations: 11.94 kB / 0.8459 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.186, allocations: 55.91 kB / 0.846 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.186, allocations: 8 kB / 0.846 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.1861, allocations: 31.77 kB / 0.846 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.1862, allocations: 16 kB / 0.846 GB, free: 10.1 MB / 0.5919 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.000114/0.1863, allocations: 125.8 kB / 0.8461 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.353e-05/0.1863, allocations: 19.89 kB / 0.8462 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003128/0.1866, allocations: 161.5 kB / 0.8463 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.1866, allocations: 3.938 kB / 0.8463 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1867, allocations: 0 / 0.8463 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1867, allocations: 4 kB / 0.8463 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.1869, allocations: 180.6 kB / 0.8465 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1869, allocations: 7.938 kB / 0.8465 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.187, allocations: 27.98 kB / 0.8465 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.187, allocations: 4 kB / 0.8465 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.187, allocations: 0 / 0.8465 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/0.187, allocations: 7.938 kB / 0.8465 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.187, allocations: 0 / 0.8465 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.1873, allocations: 223.4 kB / 0.8468 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.1874, allocations: 31.81 kB / 0.8468 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.1874, allocations: 12 kB / 0.8468 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.1876, allocations: 15.92 kB / 0.8468 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.1876, allocations: 11.98 kB / 0.8468 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.1876, allocations: 7.984 kB / 0.8468 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.765e-05/0.1877, allocations: 120 kB / 0.8469 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1877, allocations: 0 / 0.8469 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003796/0.1881, allocations: 75.88 kB / 0.847 GB, free: 9.012 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 (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.0007562/0.1889, allocations: 0.837 MB / 0.8478 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002331/0.1891, allocations: 114.1 kB / 0.8479 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.1891, allocations: 4.938 kB / 0.848 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.766e-05/0.1892, allocations: 39.92 kB / 0.848 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.1896, allocations: 55.88 kB / 0.848 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.1919, allocations: 2.046 MB / 0.85 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.1921, allocations: 115.2 kB / 0.8502 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001608/0.1922, allocations: 45.75 kB / 0.8502 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.791e-05/0.1923, allocations: 43.42 kB / 0.8502 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.1923, allocations: 0 / 0.8502 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03343/0.2257, allocations: 6.113 MB / 0.8562 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.86, allocations: 8.047 kB / 0.8562 GB, free: 15.59 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_WaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.842497997917235] Failed to read output from testmodel.py, exit status != 0: 10.962335568852723 10.979002374 10.79692684 Calling exit ...