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.001244/0.001244, allocations: 101.7 kB / 19.59 MB, free: 2.324 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.001269/0.001269, allocations: 194 kB / 22.85 MB, free: 5.652 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.35/1.35, allocations: 225.6 MB / 251.5 MB, free: 13.03 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.002419/0.002419, allocations: 293.5 kB / 307 MB, free: 8.449 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.164/1.164, allocations: 180.8 MB / 0.5304 GB, free: 14.53 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.002889/0.002889, allocations: 103.9 kB / 0.7311 GB, free: 39.12 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1509, allocations: 94.21 MB / 0.8231 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1534/0.3043, allocations: 135.1 MB / 0.955 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02785/0.3321, allocations: 22.69 MB / 0.9771 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.3323, allocations: 0 / 0.9771 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.3326, allocations: 51.67 kB / 0.9772 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003275/0.3329, allocations: 91.36 kB / 0.9773 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01708/0.35, allocations: 6.967 MB / 0.9841 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004298/0.3504, allocations: 251.9 kB / 0.9843 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.644e-05/0.3505, allocations: 9.75 kB / 0.9843 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003765/0.3509, allocations: 147.4 kB / 0.9845 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.351, allocations: 87.72 kB / 0.9845 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.3511, allocations: 15.94 kB / 0.9846 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02256/0.3736, allocations: 11.53 MB / 0.9958 GB, free: 496 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.3737, allocations: 35.89 kB / 0.9959 GB, free: 460 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.3739, allocations: 75.66 kB / 0.9959 GB, free: 384 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01465/0.3885, allocations: 6.454 MB / 1.002 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3885, allocations: 0 / 1.002 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.572e-06/0.3885, allocations: 0 / 1.002 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.3885, allocations: 0 / 1.002 GB, free: 9.906 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.003393/0.3919, allocations: 1.155 MB / 1.003 GB, free: 8.715 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.392, allocations: 8.031 kB / 1.003 GB, free: 8.707 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.3931, allocations: 88.75 kB / 1.003 GB, free: 8.621 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.3935, allocations: 174.2 kB / 1.004 GB, free: 8.426 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.3935, allocations: 20.12 kB / 1.004 GB, free: 8.406 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.3935, allocations: 12 kB / 1.004 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.3948, allocations: 480.9 kB / 1.004 GB, free: 7.906 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3948, allocations: 0 / 1.004 GB, free: 7.906 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.3948, allocations: 12 kB / 1.004 GB, free: 7.895 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3948, allocations: 7.938 kB / 1.004 GB, free: 7.887 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.3961, allocations: 0.6172 MB / 1.005 GB, free: 7.27 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.3972, allocations: 0.8541 MB / 1.006 GB, free: 6.336 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008302/0.3981, allocations: 234.4 kB / 1.006 GB, free: 6.098 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.3982, allocations: 60.83 kB / 1.006 GB, free: 6.035 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4205/0.8187, allocations: 23.07 MB / 1.028 GB, free: 181.5 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.8187, allocations: 38.16 kB / 1.028 GB, free: 181.4 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/0.8187, allocations: 0 / 1.028 GB, free: 181.4 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25): time 0.001627/0.8204, allocations: 421.9 kB / 1.029 GB, free: 181.3 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/0.8204, allocations: 60.09 kB / 1.029 GB, free: 181.2 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.913e-05/0.8205, allocations: 144.5 kB / 1.029 GB, free: 181.1 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.8205, allocations: 33.17 kB / 1.029 GB, free: 181.1 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/0.8206, allocations: 109.8 kB / 1.029 GB, free: 181 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.8206, allocations: 91.31 kB / 1.029 GB, free: 180.9 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.8207, allocations: 78.75 kB / 1.029 GB, free: 180.9 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 4.894e-05/0.8208, allocations: 325.2 kB / 1.03 GB, free: 180.6 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.8209, allocations: 81.02 kB / 1.03 GB, free: 180.6 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.8211, allocations: 135.4 kB / 1.03 GB, free: 180.5 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000377/0.8215, allocations: 221.9 kB / 1.03 GB, free: 180.4 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.8215, allocations: 6.859 kB / 1.03 GB, free: 180.4 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006714/0.8222, allocations: 294 kB / 1.03 GB, free: 180.4 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.8222, allocations: 8.328 kB / 1.03 GB, free: 180.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.8222, allocations: 2.031 kB / 1.03 GB, free: 180.4 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.8222, allocations: 2.781 kB / 1.03 GB, free: 180.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.8225, allocations: 81.3 kB / 1.03 GB, free: 180.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.8225, allocations: 9.719 kB / 1.03 GB, free: 180.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.8226, allocations: 24.92 kB / 1.03 GB, free: 180.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.8226, allocations: 23.55 kB / 1.03 GB, free: 180.3 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 8.666e-05/0.8227, allocations: 131.3 kB / 1.031 GB, free: 180.2 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.8229, allocations: 19.89 kB / 1.031 GB, free: 180.2 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/0.8245, allocations: 2.485 MB / 1.033 GB, free: 177.8 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.8245, allocations: 7.984 kB / 1.033 GB, free: 177.8 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.8245, allocations: 8.609 kB / 1.033 GB, free: 177.8 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.8245, allocations: 0 / 1.033 GB, free: 177.8 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.8267, allocations: 3.602 MB / 1.037 GB, free: 174.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.8267, allocations: 0 / 1.037 GB, free: 174.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.827, allocations: 54.77 kB / 1.037 GB, free: 174 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.827, allocations: 4.562 kB / 1.037 GB, free: 174 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.827, allocations: 8 kB / 1.037 GB, free: 174 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.827, allocations: 9.703 kB / 1.037 GB, free: 174 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.827, allocations: 0 / 1.037 GB, free: 174 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005734/0.8276, allocations: 0.5571 MB / 1.037 GB, free: 173.4 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.363e-05/0.8276, allocations: 69.61 kB / 1.037 GB, free: 173.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.8277, allocations: 4 kB / 1.037 GB, free: 173.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.8279, allocations: 12 kB / 1.037 GB, free: 173.4 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.8279, allocations: 15.95 kB / 1.037 GB, free: 173.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.8279, allocations: 19.38 kB / 1.037 GB, free: 173.3 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.65e-05/0.828, allocations: 109.3 kB / 1.037 GB, free: 173.2 MB / 0.7481 GB Notification: Performance of sort global known variables: time 7e-08/0.828, allocations: 0 / 1.037 GB, free: 173.2 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00338/0.8314, allocations: 1.707 MB / 1.039 GB, free: 171.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.005853/0.8372, allocations: 1.958 MB / 1.041 GB, free: 169.9 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005427/0.8378, allocations: 319.2 kB / 1.041 GB, free: 169.6 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.8378, allocations: 0 / 1.041 GB, free: 169.6 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002144/0.838, allocations: 195 kB / 1.041 GB, free: 169.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.8385, allocations: 69.41 kB / 1.042 GB, free: 169.4 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008072/0.8393, allocations: 0.6541 MB / 1.042 GB, free: 168.7 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.8394, allocations: 0.7621 MB / 1.043 GB, free: 167.9 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003679/0.8398, allocations: 409.4 kB / 1.043 GB, free: 167.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.8399, allocations: 51.41 kB / 1.043 GB, free: 167.5 MB / 0.7481 GB Notification: Performance of SimCode: time 4.61e-07/0.8399, allocations: 0 / 1.043 GB, free: 167.5 MB / 0.7481 GB Notification: Performance of Templates: time 0.05366/0.8936, allocations: 59.76 MB / 1.102 GB, free: 107.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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.896673769995687] Failed to read output from testmodel.py, exit status != 0: 0.9002796589993523 0.909396032 0.5186065000000001 Calling exit ...