Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.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.00162/0.00162, allocations: 108.4 kB / 16.45 MB, free: 6.5 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.001644/0.001644, allocations: 216 kB / 19.43 MB, free: 3.656 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.41/1.41, allocations: 230.6 MB / 252.8 MB, free: 8.988 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.002393/0.002393, allocations: 281.3 kB / 309.1 MB, free: 3.992 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.196/1.196, allocations: 180.9 MB / 0.5333 GB, free: 13.78 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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",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.002789/0.002789, allocations: 106.5 kB / 0.7343 GB, free: 28.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.165, allocations: 95.34 MB / 0.8274 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01777/0.1828, allocations: 13.15 MB / 0.8402 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003048/0.1858, allocations: 2.675 MB / 0.8429 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.71e-05/0.1859, allocations: 0 / 0.8429 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.1862, allocations: 47.67 kB / 0.8429 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.1864, allocations: 99.36 kB / 0.843 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.1877, allocations: 0.5167 MB / 0.8435 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.188, allocations: 231.9 kB / 0.8437 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.374e-05/0.188, allocations: 21.53 kB / 0.8437 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007734/0.1957, allocations: 3.593 MB / 0.8472 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.1959, allocations: 91.59 kB / 0.8473 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.196, allocations: 8 kB / 0.8473 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.1987, allocations: 1.103 MB / 0.8484 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.638e-05/0.1987, allocations: 39.89 kB / 0.8485 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.1988, allocations: 83.53 kB / 0.8485 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009086/0.1997, allocations: 374.8 kB / 0.8489 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1997, allocations: 3.938 kB / 0.8489 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1997, allocations: 0 / 0.8489 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.1997, allocations: 3.938 kB / 0.8489 GB, free: 3.77 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.000858/0.2006, allocations: 0.5113 MB / 0.8494 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2006, allocations: 12.03 kB / 0.8494 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.495e-05/0.2007, allocations: 46.73 kB / 0.8495 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.2009, allocations: 28.83 kB / 0.8495 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.2012, allocations: 220.1 kB / 0.8497 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.2012, allocations: 20.62 kB / 0.8497 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.2012, allocations: 16.38 kB / 0.8497 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.2016, allocations: 244.1 kB / 0.85 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2017, allocations: 3.938 kB / 0.85 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.2017, allocations: 8 kB / 0.85 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.723e-05/0.2017, allocations: 15.92 kB / 0.85 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005363/0.2022, allocations: 431.9 kB / 0.8504 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.2035, allocations: 0.9528 MB / 0.8513 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.2038, allocations: 151.6 kB / 0.8515 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.2039, allocations: 60.88 kB / 0.8515 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001566/0.2054, allocations: 1.837 MB / 0.8533 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.2055, allocations: 30.56 kB / 0.8534 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.2055, allocations: 0 / 0.8534 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0003492/0.2058, allocations: 145.5 kB / 0.8535 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.2059, allocations: 59.41 kB / 0.8536 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.2061, allocations: 175.7 kB / 0.8537 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.2061, allocations: 29.7 kB / 0.8537 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.514e-05/0.2062, allocations: 140.1 kB / 0.8539 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.2062, allocations: 55.52 kB / 0.8539 GB, free: 14 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.962e-05/0.2063, allocations: 53.66 kB / 0.854 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2064, allocations: 330.8 kB / 0.8543 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.412e-05/0.2065, allocations: 39.92 kB / 0.8543 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.2067, allocations: 135 kB / 0.8545 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.207, allocations: 204.4 kB / 0.8547 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.207, allocations: 7.938 kB / 0.8547 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003496/0.2073, allocations: 209.2 kB / 0.8549 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2073, allocations: 8 kB / 0.8549 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.2073, allocations: 4 kB / 0.8549 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.2074, allocations: 8.406 kB / 0.8549 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.2075, allocations: 55.91 kB / 0.8549 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.2075, allocations: 8 kB / 0.855 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.2077, allocations: 27.78 kB / 0.855 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.2077, allocations: 16 kB / 0.855 GB, free: 12.8 MB / 0.6075 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.000118/0.2078, allocations: 141.1 kB / 0.8551 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.787e-05/0.2079, allocations: 15.91 kB / 0.8551 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.2082, allocations: 153.2 kB / 0.8553 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.2082, allocations: 7.938 kB / 0.8553 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.2082, allocations: 4 kB / 0.8553 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2082, allocations: 0 / 0.8553 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.2085, allocations: 221.5 kB / 0.8555 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2085, allocations: 0 / 0.8555 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.524e-05/0.2085, allocations: 31.92 kB / 0.8555 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.2086, allocations: 0 / 0.8555 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.2086, allocations: 4 kB / 0.8555 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.2086, allocations: 7.938 kB / 0.8556 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2086, allocations: 3.938 kB / 0.8556 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.2088, allocations: 215.4 kB / 0.8558 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.2089, allocations: 113 kB / 0.8559 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.209, allocations: 4 kB / 0.8559 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.2092, allocations: 15.92 kB / 0.8559 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.2092, allocations: 11.98 kB / 0.8559 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.2092, allocations: 12 kB / 0.8559 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001018/0.2093, allocations: 119.9 kB / 0.856 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.2093, allocations: 0 / 0.856 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004077/0.2097, allocations: 95.69 kB / 0.8561 GB, free: 11.55 MB / 0.6075 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.000819/0.2105, allocations: 0.8278 MB / 0.8569 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000259/0.2108, allocations: 107.8 kB / 0.857 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2108, allocations: 0 / 0.857 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.234e-05/0.2109, allocations: 44.86 kB / 0.8571 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.2113, allocations: 61.39 kB / 0.8571 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.2137, allocations: 2.057 MB / 0.8591 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.214, allocations: 0.7128 MB / 0.8598 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001585/0.2141, allocations: 49.73 kB / 0.8599 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.138e-05/0.2142, allocations: 47.42 kB / 0.8599 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of SimCode: time 4.4e-07/0.2142, allocations: 0 / 0.8599 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/0.2445, allocations: 5.598 MB / 0.8654 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.838/8.083, allocations: 8.062 kB / 0.8654 GB, free: 2.008 MB / 0.6075 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT_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_WaterProperties_pT.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.04625147068873] Failed to read output from testmodel.py, exit status != 0: 8.151120058260858 8.164247673 7.961782601 Calling exit ...