Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.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.001482/0.001482, allocations: 112.5 kB / 17.13 MB, free: 5.914 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.001537/0.001537, allocations: 198 kB / 20.08 MB, free: 2.977 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.366/1.366, allocations: 225.6 MB / 248.5 MB, free: 3.621 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.00227/0.00227, allocations: 278.9 kB / 303.6 MB, free: 3.754 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.025/1.025, allocations: 180.9 MB / 0.5268 GB, free: 2.711 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.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002724/0.002724, allocations: 99.84 kB / 0.7259 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4934/0.4961, allocations: 94.15 MB / 0.8178 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002114/0.4982, allocations: 1.503 MB / 0.8193 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.4993, allocations: 0.819 MB / 0.8201 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.4993, allocations: 0.875 kB / 0.8201 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.604e-05/0.4993, allocations: 7.312 kB / 0.8201 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.366e-05/0.4994, allocations: 13.73 kB / 0.8201 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.4998, allocations: 126.9 kB / 0.8203 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.66e-05/0.4999, allocations: 53.75 kB / 0.8203 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.76e-05/0.4999, allocations: 15.25 kB / 0.8203 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.455e-05/0.5, allocations: 18.64 kB / 0.8203 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.545e-05/0.5, allocations: 23.89 kB / 0.8204 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.5, allocations: 4.625 kB / 0.8204 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003172/0.5004, allocations: 175 kB / 0.8205 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.5004, allocations: 16.91 kB / 0.8205 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.5004, allocations: 13.44 kB / 0.8206 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.5007, allocations: 150 kB / 0.8207 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5007, allocations: 0 / 0.8207 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5007, allocations: 1.188 kB / 0.8207 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.5007, allocations: 4 kB / 0.8207 GB, free: 5.609 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004617/0.5011, allocations: 402.2 kB / 0.8211 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.5012, allocations: 8.781 kB / 0.8211 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.5012, allocations: 8.078 kB / 0.8211 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.91e-05/0.5013, allocations: 170.7 kB / 0.8213 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.5013, allocations: 6.531 kB / 0.8213 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.5013, allocations: 2.562 kB / 0.8213 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.5016, allocations: 84.34 kB / 0.8214 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.5016, allocations: 192 / 0.8214 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.5016, allocations: 7.125 kB / 0.8214 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5016, allocations: 5.141 kB / 0.8214 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002756/0.5019, allocations: 69.83 kB / 0.8214 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002931/0.5022, allocations: 292.1 kB / 0.8217 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.5023, allocations: 52.83 kB / 0.8218 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.5025, allocations: 34.08 kB / 0.8218 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001462/0.5026, allocations: 93.83 kB / 0.8219 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.5026, allocations: 36.34 kB / 0.8219 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.5026, allocations: 0 / 0.8219 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005294/0.5032, allocations: 128.3 kB / 0.822 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.5032, allocations: 57.08 kB / 0.8221 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.792e-05/0.5033, allocations: 116.7 kB / 0.8222 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.677e-06/0.5033, allocations: 26.58 kB / 0.8222 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.702e-05/0.5033, allocations: 87.95 kB / 0.8223 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.5033, allocations: 11.03 kB / 0.8223 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.5034, allocations: 16.84 kB / 0.8223 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.05e-05/0.5034, allocations: 318 kB / 0.8226 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.5036, allocations: 36.23 kB / 0.8227 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.5037, allocations: 30.66 kB / 0.8227 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.504, allocations: 67.06 kB / 0.8228 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.504, allocations: 0 / 0.8228 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003107/0.5043, allocations: 103.6 kB / 0.8229 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.5043, allocations: 5.5 kB / 0.8229 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.5043, allocations: 0 / 0.8229 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.5043, allocations: 1.156 kB / 0.8229 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.5044, allocations: 15.7 kB / 0.8229 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.5044, allocations: 0.6094 kB / 0.8229 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.815e-05/0.5045, allocations: 23.5 kB / 0.8229 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.5045, allocations: 9.75 kB / 0.8229 GB, free: 3.68 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 (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 prepare postOptimizeDAE: time 4.771e-05/0.5046, allocations: 112.8 kB / 0.823 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.5046, allocations: 2.562 kB / 0.823 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003487/0.5049, allocations: 109 kB / 0.8231 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.5049, allocations: 0.8438 kB / 0.8231 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5049, allocations: 5.375 kB / 0.8231 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.5049, allocations: 0 / 0.8231 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.5051, allocations: 173.4 kB / 0.8233 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5051, allocations: 0.9688 kB / 0.8233 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.5052, allocations: 16.75 kB / 0.8233 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.5052, allocations: 0 / 0.8233 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.5052, allocations: 0.7031 kB / 0.8233 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5052, allocations: 0 / 0.8233 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5052, allocations: 3 kB / 0.8233 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.5055, allocations: 205.2 kB / 0.8235 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.5055, allocations: 88.14 kB / 0.8236 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.5055, allocations: 4.641 kB / 0.8236 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.5056, allocations: 12.61 kB / 0.8236 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.5057, allocations: 16.44 kB / 0.8236 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.5057, allocations: 0 / 0.8236 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.21e-05/0.5057, allocations: 92.14 kB / 0.8237 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.5057, allocations: 0 / 0.8237 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002651/0.506, allocations: 30.66 kB / 0.8238 GB, free: 2.949 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 0.0001843/0.5062, allocations: 133.2 kB / 0.8239 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003294/0.5065, allocations: 70.36 kB / 0.824 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5065, allocations: 0 / 0.824 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.5066, allocations: 34.08 kB / 0.824 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.5069, allocations: 18.09 kB / 0.824 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.5072, allocations: 190.8 kB / 0.8242 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.12e-05/0.5073, allocations: 0.6824 MB / 0.8249 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.5073, allocations: 11.22 kB / 0.8249 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.5073, allocations: 0 / 0.8249 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of Templates: time 0.002831/0.5102, allocations: 1.219 MB / 0.8261 GB, free: 1.832 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.083636821014807] Failed to read output from testmodel.py, exit status != 0: 0.5176962688565254 0.53033078 0.026649429000000002 Calling exit ...