Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.001384/0.001384, allocations: 113.8 kB / 17.13 MB, free: 5.938 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.001579/0.001579, allocations: 197.2 kB / 20.08 MB, free: 3 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.363/1.363, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.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.002357/0.002357, allocations: 281.5 kB / 303.6 MB, free: 3.68 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.023/1.023, allocations: 180.9 MB / 0.5268 GB, free: 2.699 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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002909/0.002909, allocations: 92.12 kB / 0.7259 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4863/0.4892, allocations: 94.16 MB / 0.8178 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002303/0.4915, allocations: 1.419 MB / 0.8192 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004129/0.4919, allocations: 211.7 kB / 0.8194 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.271e-05/0.4919, allocations: 4 kB / 0.8194 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.648e-05/0.4919, allocations: 0 / 0.8194 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.142e-05/0.492, allocations: 5.5 kB / 0.8194 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.4922, allocations: 22.92 kB / 0.8195 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.189e-05/0.4922, allocations: 25.31 kB / 0.8195 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.077e-05/0.4923, allocations: 5.922 kB / 0.8195 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.144e-05/0.4924, allocations: 7.844 kB / 0.8195 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.721e-05/0.4924, allocations: 14.67 kB / 0.8195 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.4924, allocations: 2.438 kB / 0.8195 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.897e-05/0.4925, allocations: 27.8 kB / 0.8195 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.4925, allocations: 7.359 kB / 0.8195 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.4926, allocations: 11.62 kB / 0.8196 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.4927, allocations: 27.62 kB / 0.8196 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4927, allocations: 7.938 kB / 0.8196 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4927, allocations: 1.125 kB / 0.8196 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.4927, allocations: 0 / 0.8196 GB, free: 6.23 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003547/0.4931, allocations: 344.1 kB / 0.8199 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.4931, allocations: 10.16 kB / 0.8199 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.4932, allocations: 11.41 kB / 0.8199 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.029e-05/0.4933, allocations: 165.9 kB / 0.8201 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.4933, allocations: 4.484 kB / 0.8201 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.4933, allocations: 1.281 kB / 0.8201 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.4935, allocations: 47.78 kB / 0.8202 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.4935, allocations: 1.094 kB / 0.8202 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.4935, allocations: 3.938 kB / 0.8202 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4935, allocations: 0.9688 kB / 0.8202 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.4936, allocations: 36.17 kB / 0.8202 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002657/0.4939, allocations: 246.9 kB / 0.8204 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.494, allocations: 45.72 kB / 0.8205 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.13e-05/0.4941, allocations: 19.27 kB / 0.8205 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.4941, allocations: 4.656 kB / 0.8205 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.4941, allocations: 38.53 kB / 0.8205 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4941, allocations: 0.5625 kB / 0.8205 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003027/0.4944, allocations: 83.45 kB / 0.8206 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.806e-05/0.4944, allocations: 55.34 kB / 0.8207 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.519e-05/0.4945, allocations: 105.4 kB / 0.8208 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.672e-06/0.4945, allocations: 25.7 kB / 0.8208 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.478e-05/0.4945, allocations: 86.23 kB / 0.8209 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.4945, allocations: 8.859 kB / 0.8209 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.4945, allocations: 12.28 kB / 0.8209 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.384e-05/0.4946, allocations: 316.2 kB / 0.8212 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.981e-05/0.4947, allocations: 16.3 kB / 0.8212 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.803e-05/0.4947, allocations: 17.73 kB / 0.8212 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.4948, allocations: 37.72 kB / 0.8213 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4948, allocations: 1.375 kB / 0.8213 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001566/0.495, allocations: 78.11 kB / 0.8213 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.495, allocations: 7.734 kB / 0.8213 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.495, allocations: 96 / 0.8213 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.495, allocations: 5.156 kB / 0.8214 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.69e-05/0.4951, allocations: 9.922 kB / 0.8214 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.4951, allocations: 0 / 0.8214 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.403e-05/0.4952, allocations: 3.5 kB / 0.8214 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.4952, allocations: 1.281 kB / 0.8214 GB, free: 4.512 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 4.273e-05/0.4952, allocations: 114.2 kB / 0.8215 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.4952, allocations: 1.469 kB / 0.8215 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.4954, allocations: 81.81 kB / 0.8216 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4954, allocations: 0.8438 kB / 0.8216 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.4954, allocations: 0 / 0.8216 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.4954, allocations: 1 kB / 0.8216 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.4955, allocations: 169.5 kB / 0.8217 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4955, allocations: 0 / 0.8217 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.026e-05/0.4956, allocations: 11.92 kB / 0.8217 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.4956, allocations: 0 / 0.8217 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.4956, allocations: 5.219 kB / 0.8217 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4956, allocations: 0 / 0.8217 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4956, allocations: 0 / 0.8217 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.4958, allocations: 168.9 kB / 0.8219 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.928e-05/0.4958, allocations: 87.09 kB / 0.822 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.4958, allocations: 1.875 kB / 0.822 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.408e-05/0.4959, allocations: 15.23 kB / 0.822 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.4959, allocations: 1.312 kB / 0.822 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.496, allocations: 4.625 kB / 0.822 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.94e-05/0.496, allocations: 81.88 kB / 0.8221 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.496, allocations: 0 / 0.8221 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002029/0.4962, allocations: 5.062 kB / 0.8221 GB, free: 3.809 MB / 0.5762 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 (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 9.5e-05/0.4963, allocations: 96.56 kB / 0.8222 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001893/0.4965, allocations: 44.17 kB / 0.8222 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4965, allocations: 1.219 kB / 0.8222 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.347e-05/0.4965, allocations: 26.36 kB / 0.8222 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.4968, allocations: 11.25 kB / 0.8223 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.4971, allocations: 156.6 kB / 0.8224 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.255e-05/0.4972, allocations: 0.6764 MB / 0.8231 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.4972, allocations: 14.22 kB / 0.8231 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.4972, allocations: 0 / 0.8231 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of Templates: time 0.001933/0.4991, allocations: 0.5731 MB / 0.8236 GB, free: 2.801 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.881511943996884] Failed to read output from testmodel.py, exit status != 0: 0.506606715003727 0.517523265 0.021859106 Calling exit ...