Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.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.0009841/0.0009841, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001192/0.001192, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 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 0.8498/0.8498, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.001407/0.001407, allocations: 234.9 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6745/0.6745, allocations: 138.4 MB / 454.3 MB, free: 29.97 MB / 410.7 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.SteamProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.12e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.3543/0.3543, allocations: 119.6 MB / 0.7631 GB, free: 3.488 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.01828/0.3726, allocations: 20.23 MB / 0.7829 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.3728, allocations: 7.938 kB / 0.7829 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.3731, allocations: 43.69 kB / 0.7829 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.3735, allocations: 103.3 kB / 0.783 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01409/0.3875, allocations: 7.012 MB / 0.7899 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003707/0.3879, allocations: 255.8 kB / 0.7901 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.512e-05/0.388, allocations: 13.73 kB / 0.7901 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003315/0.3883, allocations: 183.4 kB / 0.7903 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.3884, allocations: 75.78 kB / 0.7904 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.3885, allocations: 8 kB / 0.7904 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01561/0.4041, allocations: 11.13 MB / 0.8013 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.4042, allocations: 31.89 kB / 0.8013 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.4043, allocations: 75.81 kB / 0.8014 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01448/0.4188, allocations: 8.357 MB / 0.8095 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4188, allocations: 0 / 0.8095 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4188, allocations: 4 kB / 0.8095 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.4188, allocations: 0 / 0.8095 GB, free: 3.926 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003295/0.4221, allocations: 1.163 MB / 0.8107 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.4221, allocations: 13.94 kB / 0.8107 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.13e-05/0.4222, allocations: 46.73 kB / 0.8107 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00058/0.4228, allocations: 90.12 kB / 0.8108 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.423, allocations: 176.1 kB / 0.811 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.4231, allocations: 16.31 kB / 0.811 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.4231, allocations: 12.38 kB / 0.811 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007851/0.4239, allocations: 0.6721 MB / 0.8117 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.4239, allocations: 0 / 0.8117 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.4239, allocations: 8 kB / 0.8117 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.4239, allocations: 4 kB / 0.8117 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006886/0.4246, allocations: 0.6125 MB / 0.8123 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007566/0.4253, allocations: 0.7272 MB / 0.813 GB, free: 216 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004753/0.4258, allocations: 235 kB / 0.8132 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.447e-05/0.4259, allocations: 72.75 kB / 0.8133 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04123/0.4671, allocations: 23.36 MB / 0.8361 GB, free: 8.496 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.4672, allocations: 34.56 kB / 0.8361 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=25): time 1.823e-06/0.4672, allocations: 0 / 0.8361 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25): time 0.001047/0.4682, allocations: 419.6 kB / 0.8365 GB, free: 8.039 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.4682, allocations: 59.39 kB / 0.8366 GB, free: 7.969 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.4684, allocations: 147.7 kB / 0.8367 GB, free: 7.816 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.4684, allocations: 33.7 kB / 0.8368 GB, free: 7.777 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.4684, allocations: 108.5 kB / 0.8369 GB, free: 7.668 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.232e-05/0.4685, allocations: 87.22 kB / 0.8369 GB, free: 7.582 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.342e-05/0.4686, allocations: 81.61 kB / 0.837 GB, free: 7.496 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.658e-05/0.4687, allocations: 334.8 kB / 0.8373 GB, free: 7.16 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.4688, allocations: 79.95 kB / 0.8374 GB, free: 7.082 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.4689, allocations: 130.8 kB / 0.8375 GB, free: 6.938 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.4692, allocations: 227.8 kB / 0.8378 GB, free: 6.703 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4693, allocations: 0 / 0.8378 GB, free: 6.703 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004703/0.4697, allocations: 293.4 kB / 0.838 GB, free: 6.41 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.4697, allocations: 4 kB / 0.838 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.4697, allocations: 4 kB / 0.838 GB, free: 6.402 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.4698, allocations: 7.984 kB / 0.8381 GB, free: 6.395 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.4699, allocations: 75.89 kB / 0.8381 GB, free: 6.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.4699, allocations: 3.984 kB / 0.8381 GB, free: 6.316 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.024e-05/0.47, allocations: 27.78 kB / 0.8382 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.4701, allocations: 23.98 kB / 0.8382 GB, free: 6.266 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 30 * 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.0001056/0.4702, allocations: 130.4 kB / 0.8383 GB, free: 6.129 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.4703, allocations: 16 kB / 0.8383 GB, free: 6.113 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001762/0.472, allocations: 2.501 MB / 0.8408 GB, free: 3.609 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.472, allocations: 11.98 kB / 0.8408 GB, free: 3.598 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.472, allocations: 0 / 0.8408 GB, free: 3.598 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.472, allocations: 3.984 kB / 0.8408 GB, free: 3.594 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/0.4742, allocations: 3.579 MB / 0.8443 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.4742, allocations: 0 / 0.8443 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.4744, allocations: 55.89 kB / 0.8443 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4744, allocations: 0 / 0.8443 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.4744, allocations: 9.125 kB / 0.8443 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.4744, allocations: 4 kB / 0.8443 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4744, allocations: 3.938 kB / 0.8443 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005072/0.4749, allocations: 0.5628 MB / 0.8449 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.211e-05/0.475, allocations: 67.56 kB / 0.845 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.475, allocations: 4 kB / 0.845 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.4751, allocations: 12 kB / 0.845 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.4751, allocations: 19.89 kB / 0.845 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.4752, allocations: 16.75 kB / 0.845 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.738e-05/0.4752, allocations: 110.4 kB / 0.8451 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7e-08/0.4752, allocations: 0 / 0.8451 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003593/0.4788, allocations: 1.711 MB / 0.8468 GB, free: 13.32 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.007426/0.4862, allocations: 3.21 MB / 0.8499 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005102/0.4867, allocations: 320.3 kB / 0.8502 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4867, allocations: 0 / 0.8502 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.4869, allocations: 193.5 kB / 0.8504 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.4873, allocations: 64.14 kB / 0.8505 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004611/0.4919, allocations: 3.081 MB / 0.8535 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.492, allocations: 152.7 kB / 0.8536 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003725/0.4924, allocations: 411.5 kB / 0.854 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.4925, allocations: 104.4 kB / 0.8541 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of SimCode: time 8.51e-07/0.4925, allocations: 3.938 kB / 0.8541 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08285/0.5754, allocations: 64.56 MB / 0.9172 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.02/9.596, allocations: 8.266 kB / 0.9172 GB, free: 5.246 MB / 0.7448 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.SteamProperties_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_SteamProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.311757560819387] Failed to read output from testmodel.py, exit status != 0: 9.710545031353831 9.719444031 9.298239979 Calling exit ...