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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.6 MB / 251 MB, free: 13.02 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.002527/0.002527, allocations: 280 kB / 306.5 MB, free: 8.359 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.216/1.216, allocations: 180.9 MB / 0.53 GB, free: 14.56 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") translateModel(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00282/0.00282, allocations: 106.5 kB / 0.7309 GB, free: 38.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1688, allocations: 94.2 MB / 0.8228 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1633/0.3321, allocations: 136.5 MB / 0.9562 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02965/0.3618, allocations: 22.83 MB / 0.9785 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.3619, allocations: 0 / 0.9785 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.3622, allocations: 43.69 kB / 0.9785 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.3625, allocations: 107.3 kB / 0.9786 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01658/0.3791, allocations: 6.967 MB / 0.9854 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004188/0.3795, allocations: 259.8 kB / 0.9857 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.732e-05/0.3795, allocations: 9.75 kB / 0.9857 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003092/0.3798, allocations: 143.5 kB / 0.9858 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.38, allocations: 87.66 kB / 0.9859 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.38, allocations: 8 kB / 0.9859 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02205/0.4021, allocations: 11.68 MB / 0.9973 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.4022, allocations: 43.83 kB / 0.9974 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.4023, allocations: 79.66 kB / 0.9974 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01503/0.4173, allocations: 6.494 MB / 1.004 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4173, allocations: 4 kB / 1.004 GB, free: 7.945 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4173, allocations: 0 / 1.004 GB, free: 7.945 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.4173, allocations: 0 / 1.004 GB, free: 7.945 MB / 0.7481 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.003618/0.421, allocations: 1.159 MB / 1.005 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.421, allocations: 8.031 kB / 1.005 GB, free: 6.742 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.4221, allocations: 88.75 kB / 1.005 GB, free: 6.656 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.4224, allocations: 170.2 kB / 1.005 GB, free: 6.465 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.4224, allocations: 12.12 kB / 1.005 GB, free: 6.453 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.4225, allocations: 23.98 kB / 1.005 GB, free: 6.43 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.4237, allocations: 484.9 kB / 1.006 GB, free: 5.938 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.4237, allocations: 3.938 kB / 1.006 GB, free: 5.934 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.4237, allocations: 8 kB / 1.006 GB, free: 5.926 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.4238, allocations: 4 kB / 1.006 GB, free: 5.922 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.4251, allocations: 0.625 MB / 1.006 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.4262, allocations: 0.8502 MB / 1.007 GB, free: 4.367 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008516/0.4271, allocations: 234.3 kB / 1.007 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.4272, allocations: 69.48 kB / 1.007 GB, free: 4.059 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4168/0.844, allocations: 23.09 MB / 1.03 GB, free: 180.2 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.844, allocations: 38.19 kB / 1.03 GB, free: 180.1 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=25): time 1.653e-06/0.844, allocations: 0 / 1.03 GB, free: 180.1 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25): time 0.001673/0.8457, allocations: 426.6 kB / 1.03 GB, free: 179.8 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.838e-05/0.8457, allocations: 59.41 kB / 1.03 GB, free: 179.8 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.702e-05/0.8458, allocations: 146 kB / 1.031 GB, free: 179.6 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.8458, allocations: 29.27 kB / 1.031 GB, free: 179.6 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.8458, allocations: 109.3 kB / 1.031 GB, free: 179.5 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.109e-05/0.8459, allocations: 90.47 kB / 1.031 GB, free: 179.4 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.846, allocations: 76.36 kB / 1.031 GB, free: 179.4 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 4.211e-05/0.8461, allocations: 321.2 kB / 1.031 GB, free: 179.1 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.8462, allocations: 87.25 kB / 1.031 GB, free: 179 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.8464, allocations: 130.7 kB / 1.031 GB, free: 178.9 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.8468, allocations: 215.1 kB / 1.032 GB, free: 178.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.8468, allocations: 4 kB / 1.032 GB, free: 178.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006712/0.8475, allocations: 300.9 kB / 1.032 GB, free: 178.5 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.8475, allocations: 4 kB / 1.032 GB, free: 178.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.8475, allocations: 4 kB / 1.032 GB, free: 178.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.8475, allocations: 0 / 1.032 GB, free: 178.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.8478, allocations: 80.19 kB / 1.032 GB, free: 178.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.8478, allocations: 12.09 kB / 1.032 GB, free: 178.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.8479, allocations: 18.31 kB / 1.032 GB, free: 178.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.848, allocations: 34.92 kB / 1.032 GB, free: 178.4 MB / 0.7481 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.0001015/0.8481, allocations: 127 kB / 1.032 GB, free: 178.3 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.8483, allocations: 15.91 kB / 1.032 GB, free: 178.2 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/0.85, allocations: 2.489 MB / 1.035 GB, free: 175.8 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.85, allocations: 15.98 kB / 1.035 GB, free: 175.8 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.85, allocations: 3.938 kB / 1.035 GB, free: 175.8 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.85, allocations: 4 kB / 1.035 GB, free: 175.8 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.8522, allocations: 3.594 MB / 1.038 GB, free: 172.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.8522, allocations: 0 / 1.038 GB, free: 172.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/0.8524, allocations: 54.2 kB / 1.038 GB, free: 172.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.8524, allocations: 10.36 kB / 1.038 GB, free: 172.1 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.8525, allocations: 8 kB / 1.038 GB, free: 172.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.8525, allocations: 0 / 1.038 GB, free: 172.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8525, allocations: 0 / 1.038 GB, free: 172.1 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006084/0.8531, allocations: 0.5623 MB / 1.039 GB, free: 171.5 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.8532, allocations: 68.03 kB / 1.039 GB, free: 171.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.8532, allocations: 4.5 kB / 1.039 GB, free: 171.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.8534, allocations: 17.48 kB / 1.039 GB, free: 171.4 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.8535, allocations: 20.84 kB / 1.039 GB, free: 171.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.8535, allocations: 11.98 kB / 1.039 GB, free: 171.4 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.672e-05/0.8535, allocations: 104.5 kB / 1.039 GB, free: 171.3 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/0.8535, allocations: 0 / 1.039 GB, free: 171.3 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003403/0.857, allocations: 1.711 MB / 1.041 GB, free: 169.7 MB / 0.7481 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.006177/0.8631, allocations: 1.955 MB / 1.043 GB, free: 168 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005529/0.8637, allocations: 320.3 kB / 1.043 GB, free: 167.7 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.8637, allocations: 0 / 1.043 GB, free: 167.7 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.8639, allocations: 203.1 kB / 1.043 GB, free: 167.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005224/0.8644, allocations: 61.22 kB / 1.043 GB, free: 167.4 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008328/0.8653, allocations: 0.6566 MB / 1.044 GB, free: 166.7 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.8654, allocations: 0.766 MB / 1.045 GB, free: 166 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003788/0.8658, allocations: 408.4 kB / 1.045 GB, free: 165.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.8659, allocations: 43.42 kB / 1.045 GB, free: 165.5 MB / 0.7481 GB Notification: Performance of SimCode: time 3.31e-07/0.8659, allocations: 0 / 1.045 GB, free: 165.5 MB / 0.7481 GB Notification: Performance of Templates: time 0.05356/0.9195, allocations: 59.76 MB / 1.103 GB, free: 105.8 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.306131776422262] Failed to read output from testmodel.py, exit status != 0: 0.926170869730413 0.935680435 0.51606202 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f44186e17b0>