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.001299/0.001299, allocations: 109 kB / 16.46 MB, free: 6.508 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.001429/0.001429, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.372/1.372, allocations: 230.6 MB / 252.8 MB, free: 9.102 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002425/0.002425, allocations: 292 kB / 309.1 MB, free: 3.973 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.158/1.158, allocations: 180.9 MB / 0.5333 GB, free: 13.79 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002737/0.002737, allocations: 109.3 kB / 0.7343 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1574, allocations: 95.34 MB / 0.8274 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.00662/0.164, allocations: 4.822 MB / 0.8321 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003017/0.167, allocations: 2.718 MB / 0.8348 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.812e-05/0.1671, allocations: 0 / 0.8348 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.1674, allocations: 47.67 kB / 0.8348 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002592/0.1676, allocations: 99.34 kB / 0.8349 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.1688, allocations: 0.5203 MB / 0.8354 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.1691, allocations: 231.9 kB / 0.8356 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.238e-05/0.1691, allocations: 13.53 kB / 0.8356 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.1693, allocations: 115.6 kB / 0.8357 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.1694, allocations: 99.58 kB / 0.8358 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.1695, allocations: 8 kB / 0.8358 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006495/0.1701, allocations: 383.3 kB / 0.8362 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.113e-05/0.1702, allocations: 47.81 kB / 0.8363 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.602e-05/0.1703, allocations: 79.66 kB / 0.8363 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005592/0.1708, allocations: 379 kB / 0.8367 GB, free: 264 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1708, allocations: 0 / 0.8367 GB, free: 264 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1708, allocations: 0 / 0.8367 GB, free: 264 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.1708, allocations: 0 / 0.8367 GB, free: 264 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.0007832/0.1716, allocations: 0.5064 MB / 0.8372 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1717, allocations: 8.031 kB / 0.8372 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.922e-05/0.1717, allocations: 50.73 kB / 0.8372 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.1719, allocations: 24.83 kB / 0.8373 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.1722, allocations: 224.1 kB / 0.8375 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1722, allocations: 12.7 kB / 0.8375 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.1722, allocations: 12.38 kB / 0.8375 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003828/0.1726, allocations: 248 kB / 0.8377 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1726, allocations: 0 / 0.8377 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.1726, allocations: 8 kB / 0.8378 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/0.1727, allocations: 8 kB / 0.8378 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000516/0.1732, allocations: 427.9 kB / 0.8382 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.1743, allocations: 0.9528 MB / 0.8391 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.1746, allocations: 150.8 kB / 0.8392 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.746e-05/0.1747, allocations: 52.88 kB / 0.8393 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00145/0.1762, allocations: 1.825 MB / 0.8411 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.1762, allocations: 38.56 kB / 0.8411 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.193e-06/0.1762, allocations: 0 / 0.8411 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0003372/0.1765, allocations: 151.5 kB / 0.8413 GB, free: 11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.1766, allocations: 51.41 kB / 0.8413 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.1767, allocations: 176.5 kB / 0.8415 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.1768, allocations: 29.7 kB / 0.8415 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.265e-05/0.1769, allocations: 140.1 kB / 0.8416 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.965e-05/0.1769, allocations: 63.5 kB / 0.8417 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.116e-05/0.177, allocations: 57.66 kB / 0.8418 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1771, allocations: 330.8 kB / 0.8421 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.061e-05/0.1772, allocations: 35.98 kB / 0.8421 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.1773, allocations: 135.5 kB / 0.8422 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.1776, allocations: 216.3 kB / 0.8424 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1776, allocations: 0 / 0.8424 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003293/0.1779, allocations: 201.7 kB / 0.8426 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1779, allocations: 9.406 kB / 0.8426 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1779, allocations: 4 kB / 0.8426 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.178, allocations: 7.938 kB / 0.8426 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.1781, allocations: 59.91 kB / 0.8427 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.1781, allocations: 7.938 kB / 0.8427 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.1783, allocations: 35.67 kB / 0.8427 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.1783, allocations: 16 kB / 0.8428 GB, free: 9.309 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.0001169/0.1784, allocations: 134.4 kB / 0.8429 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.1784, allocations: 15.98 kB / 0.8429 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/0.1788, allocations: 158.9 kB / 0.8431 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.1788, allocations: 3.938 kB / 0.8431 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1788, allocations: 3.938 kB / 0.8431 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.1788, allocations: 0 / 0.8431 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.179, allocations: 221.5 kB / 0.8433 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.179, allocations: 0 / 0.8433 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.476e-05/0.1791, allocations: 27.98 kB / 0.8433 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1791, allocations: 0 / 0.8433 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1791, allocations: 4 kB / 0.8433 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1791, allocations: 7.938 kB / 0.8433 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1791, allocations: 0 / 0.8433 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.1794, allocations: 225.5 kB / 0.8435 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.1795, allocations: 109 kB / 0.8436 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.1795, allocations: 0 / 0.8436 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.1797, allocations: 19.92 kB / 0.8437 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.1797, allocations: 7.984 kB / 0.8437 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.1798, allocations: 16 kB / 0.8437 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.168e-05/0.1799, allocations: 120 kB / 0.8438 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1799, allocations: 0 / 0.8438 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003808/0.1802, allocations: 83.8 kB / 0.8439 GB, free: 8.074 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.0007386/0.181, allocations: 0.8293 MB / 0.8447 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002377/0.1812, allocations: 119.1 kB / 0.8448 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1812, allocations: 0 / 0.8448 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.651e-05/0.1813, allocations: 40.05 kB / 0.8448 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.1817, allocations: 59.77 kB / 0.8449 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.184, allocations: 2.031 MB / 0.8469 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.1843, allocations: 0.7128 MB / 0.8476 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001492/0.1844, allocations: 53.69 kB / 0.8476 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.496e-05/0.1845, allocations: 43.42 kB / 0.8477 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.1845, allocations: 0 / 0.8477 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.2126, allocations: 5.35 MB / 0.8529 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.772/7.984, allocations: 9.172 kB / 0.8529 GB, free: 14.73 MB / 0.6075 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.WaterProperties_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_Examples_WaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.878337686881423] Failed to read output from testmodel.py, exit status != 0: 8.053022327832878 8.066746556 7.893184426 Calling exit ...