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.0016/0.0016, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002031/0.002031, allocations: 213.1 kB / 23.04 MB, free: 5.07 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.387/1.387, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.002394/0.002394, allocations: 287.6 kB / 313.5 MB, free: 2.93 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.157/1.157, allocations: 180.6 MB / 0.5377 GB, free: 13.06 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterProperties",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.002742/0.002742, allocations: 93.2 kB / 0.7404 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1586, allocations: 95.39 MB / 0.8335 GB, free: 8.629 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.006282/0.1649, allocations: 4.843 MB / 0.8383 GB, free: 3.75 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.003065/0.168, allocations: 2.737 MB / 0.8409 GB, free: 1.004 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.111e-05/0.168, allocations: 4 kB / 0.8409 GB, free: 1 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0002867/0.1683, allocations: 51.67 kB / 0.841 GB, free: 0.9492 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.1686, allocations: 99.41 kB / 0.8411 GB, free: 0.8516 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.1698, allocations: 0.5139 MB / 0.8416 GB, free: 348 kB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.00027/0.1701, allocations: 228 kB / 0.8418 GB, free: 120 kB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.616e-05/0.1701, allocations: 17.72 kB / 0.8418 GB, free: 104 kB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.1703, allocations: 123.5 kB / 0.8419 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.1705, allocations: 95.59 kB / 0.842 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.1705, allocations: 8 kB / 0.842 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007444/0.1713, allocations: 391.3 kB / 0.8424 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.79e-05/0.1713, allocations: 43.77 kB / 0.8424 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.1714, allocations: 75.66 kB / 0.8425 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006018/0.172, allocations: 371.1 kB / 0.8429 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.172, allocations: 4 kB / 0.8429 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.263e-06/0.172, allocations: 0 / 0.8429 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.172, allocations: 0 / 0.8429 GB, free: 15.01 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.0007869/0.1728, allocations: 449.4 kB / 0.8433 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.1729, allocations: 13.34 kB / 0.8433 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.952e-05/0.1729, allocations: 4.516 kB / 0.8433 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.794e-05/0.173, allocations: 50.67 kB / 0.8434 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.1731, allocations: 28.78 kB / 0.8434 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.1734, allocations: 158.2 kB / 0.8436 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.1734, allocations: 12.7 kB / 0.8436 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.1735, allocations: 16.12 kB / 0.8436 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004226/0.1739, allocations: 256.8 kB / 0.8438 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1739, allocations: 0 / 0.8438 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.1739, allocations: 11.94 kB / 0.8438 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.91e-05/0.174, allocations: 7.984 kB / 0.8438 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000574/0.1745, allocations: 455.3 kB / 0.8443 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.1758, allocations: 0.9129 MB / 0.8452 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.1761, allocations: 159.5 kB / 0.8453 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1762, allocations: 56.88 kB / 0.8454 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008029/0.177, allocations: 463.8 kB / 0.8458 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.1771, allocations: 34.56 kB / 0.8458 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.1771, allocations: 0 / 0.8458 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0003556/0.1774, allocations: 153.4 kB / 0.846 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.1775, allocations: 55.41 kB / 0.846 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.1776, allocations: 171.9 kB / 0.8462 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.1777, allocations: 33.7 kB / 0.8462 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1778, allocations: 148 kB / 0.8464 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.1778, allocations: 47.53 kB / 0.8464 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-05/0.1779, allocations: 57.66 kB / 0.8465 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.178, allocations: 326.8 kB / 0.8468 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.03e-05/0.1781, allocations: 39.98 kB / 0.8468 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.1782, allocations: 135.5 kB / 0.847 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.1785, allocations: 208.2 kB / 0.8472 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1785, allocations: 4 kB / 0.8472 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003267/0.1788, allocations: 205.3 kB / 0.8474 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1788, allocations: 4 kB / 0.8474 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.1789, allocations: 8.469 kB / 0.8474 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.1789, allocations: 15.94 kB / 0.8474 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.1791, allocations: 51.91 kB / 0.8474 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.1791, allocations: 7.938 kB / 0.8474 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.1792, allocations: 31.73 kB / 0.8475 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.1792, allocations: 16 kB / 0.8475 GB, free: 9.922 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.0001293/0.1793, allocations: 129.7 kB / 0.8476 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.096e-05/0.1794, allocations: 11.95 kB / 0.8476 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003215/0.1797, allocations: 173.2 kB / 0.8478 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.1797, allocations: 4 kB / 0.8478 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1797, allocations: 0 / 0.8478 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.1797, allocations: 0 / 0.8478 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.18, allocations: 184.7 kB / 0.848 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.18, allocations: 0 / 0.848 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.1801, allocations: 31.92 kB / 0.848 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1801, allocations: 0 / 0.848 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.1801, allocations: 7.922 kB / 0.848 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1801, allocations: 0 / 0.848 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1801, allocations: 4 kB / 0.848 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.1804, allocations: 223.4 kB / 0.8482 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.202e-05/0.1805, allocations: 31.86 kB / 0.8483 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.1805, allocations: 15.88 kB / 0.8483 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.1807, allocations: 11.98 kB / 0.8483 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.1807, allocations: 19.91 kB / 0.8483 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.1808, allocations: 4 kB / 0.8483 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001005/0.1809, allocations: 127.9 kB / 0.8484 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.1809, allocations: 0 / 0.8484 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004158/0.1813, allocations: 79.88 kB / 0.8485 GB, free: 8.812 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.0008521/0.1821, allocations: 0.8293 MB / 0.8493 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002504/0.1824, allocations: 114.4 kB / 0.8494 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1824, allocations: 0 / 0.8494 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.915e-05/0.1824, allocations: 39.92 kB / 0.8495 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.1829, allocations: 60.88 kB / 0.8495 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.1853, allocations: 2.048 MB / 0.8515 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.1857, allocations: 0.7167 MB / 0.8522 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001486/0.1858, allocations: 41.83 kB / 0.8523 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.672e-05/0.1859, allocations: 43.42 kB / 0.8523 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.1859, allocations: 3.938 kB / 0.8523 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.213, allocations: 5.62 MB / 0.8578 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.74, allocations: 7.344 kB / 0.8578 GB, free: 15.25 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.743712623021565] Failed to read output from testmodel.py, exit status != 0: 10.903507979004644 10.919119446 10.743969723 Calling exit ...