Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.001512/0.001512, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.001258/0.001258, allocations: 173 kB / 23.02 MB, free: 1.551 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.995/0.995, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.001605/0.001605, allocations: 237.9 kB / 260.2 MB, free: 12.82 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.758/0.758, allocations: 138.4 MB / 455.2 MB, free: 1.527 MB / 362.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: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.5551 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.636e-05, allocations: 5.406 kB / 0.5551 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002535/0.002561, allocations: 1.333 MB / 0.5564 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.003848, allocations: 0.8263 MB / 0.5572 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.6e-05/0.003874, allocations: 3.938 kB / 0.5572 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.7e-05/0.003901, allocations: 4 kB / 0.5572 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.804e-05/0.003949, allocations: 0 / 0.5572 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005775/0.004527, allocations: 139.2 kB / 0.5574 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.004633, allocations: 31.86 kB / 0.5574 GB, free: 14.15 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.004675, allocations: 4 kB / 0.5574 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.336e-05/0.004739, allocations: 19.97 kB / 0.5574 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.904e-05/0.004798, allocations: 4 kB / 0.5574 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.004814, allocations: 0 / 0.5574 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003159/0.00513, allocations: 163.6 kB / 0.5576 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.005153, allocations: 4 kB / 0.5576 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.62e-05/0.005179, allocations: 7.984 kB / 0.5576 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.005484, allocations: 147.5 kB / 0.5577 GB, free: 13.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.005489, allocations: 0 / 0.5577 GB, free: 13.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.00549, allocations: 4 kB / 0.5577 GB, free: 13.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.005497, allocations: 0 / 0.5577 GB, free: 13.8 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006409/0.006138, allocations: 388.3 kB / 0.5581 GB, free: 13.38 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.154e-05/0.006199, allocations: 8.75 kB / 0.5581 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.91e-05/0.006268, allocations: 4.938 kB / 0.5581 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.006404, allocations: 116.6 kB / 0.5582 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.006528, allocations: 51.97 kB / 0.5583 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.006543, allocations: 4.375 kB / 0.5583 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.006732, allocations: 84.59 kB / 0.5584 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.006743, allocations: 192 / 0.5584 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.006756, allocations: 4.375 kB / 0.5584 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.006771, allocations: 4.125 kB / 0.5584 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.284e-05/0.006824, allocations: 11.97 kB / 0.5584 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.007016, allocations: 116.6 kB / 0.5585 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.007273, allocations: 51.03 kB / 0.5586 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.387e-05/0.007307, allocations: 11.78 kB / 0.5586 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002235/0.007531, allocations: 27.97 kB / 0.5586 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/0.007576, allocations: 41.38 kB / 0.5586 GB, free: 12.74 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.007577, allocations: 7.938 kB / 0.5586 GB, free: 12.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002256/0.007803, allocations: 49.69 kB / 0.5587 GB, free: 12.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.007839, allocations: 51.41 kB / 0.5587 GB, free: 12.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.718e-05/0.007927, allocations: 157.9 kB / 0.5589 GB, free: 12.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.007944, allocations: 29.7 kB / 0.5589 GB, free: 12.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.007978, allocations: 126.9 kB / 0.559 GB, free: 12.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.008008, allocations: 15.84 kB / 0.559 GB, free: 12.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.00805, allocations: 27.36 kB / 0.5591 GB, free: 12.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.008184, allocations: 492.1 kB / 0.5595 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.169e-05/0.008206, allocations: 8 kB / 0.5596 GB, free: 11.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.735e-05/0.008223, allocations: 7.984 kB / 0.5596 GB, free: 11.72 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.772e-05/0.008271, allocations: 23.62 kB / 0.5596 GB, free: 11.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.008273, allocations: 0 / 0.5596 GB, free: 11.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.054e-05/0.008364, allocations: 49.69 kB / 0.5596 GB, free: 11.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.00838, allocations: 4 kB / 0.5596 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.008385, allocations: 0 / 0.5596 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.008399, allocations: 0 / 0.5596 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.364e-05/0.008453, allocations: 8 kB / 0.5596 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.008461, allocations: 3.938 kB / 0.5596 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.53e-05/0.008487, allocations: 8 kB / 0.5597 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.008495, allocations: 4 kB / 0.5597 GB, free: 11.61 MB / 490.7 MB 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 (4): * Single equations (assignments): 4 * 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 7.578e-05/0.00857, allocations: 160.5 kB / 0.5598 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/0.008586, allocations: 7.953 kB / 0.5598 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.008715, allocations: 61.36 kB / 0.5599 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.008718, allocations: 4 kB / 0.5599 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.008722, allocations: 0 / 0.5599 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.008726, allocations: 4.5 kB / 0.5599 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.935e-05/0.008816, allocations: 116.6 kB / 0.56 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.008817, allocations: 0 / 0.56 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.008852, allocations: 12 kB / 0.56 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.008854, allocations: 0 / 0.56 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.008861, allocations: 0 / 0.56 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.008863, allocations: 3.938 kB / 0.56 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.008865, allocations: 0 / 0.56 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.008969, allocations: 96.28 kB / 0.5601 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.009011, allocations: 11.95 kB / 0.5601 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.009023, allocations: 0 / 0.5601 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.931e-05/0.009052, allocations: 4 kB / 0.5601 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.009088, allocations: 3.984 kB / 0.5601 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.009093, allocations: 4 kB / 0.5601 GB, free: 11.06 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.41e-05/0.009137, allocations: 127.1 kB / 0.5602 GB, free: 10.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009137, allocations: 0 / 0.5602 GB, free: 10.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001884/0.009326, allocations: 43.8 kB / 0.5603 GB, free: 10.89 MB / 490.7 MB 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 (4): * Single equations (assignments): 4 * 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.0002035/0.009529, allocations: 139.1 kB / 0.5604 GB, free: 10.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.861e-05/0.009618, allocations: 27.62 kB / 0.5604 GB, free: 10.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.00962, allocations: 0 / 0.5604 GB, free: 10.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.99e-05/0.009639, allocations: 19.67 kB / 0.5605 GB, free: 10.69 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.00979, allocations: 12 kB / 0.5605 GB, free: 10.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004882/0.01028, allocations: 141.3 kB / 0.5606 GB, free: 10.52 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.216e-05/0.01031, allocations: 55.34 kB / 0.5607 GB, free: 10.44 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.346e-05/0.01034, allocations: 8 kB / 0.5607 GB, free: 10.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.01037, allocations: 12.5 kB / 0.5607 GB, free: 10.42 MB / 490.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01037, allocations: 0 / 0.5607 GB, free: 10.42 MB / 490.7 MB Notification: Performance of Templates: time 0.003256/0.01362, allocations: 1.291 MB / 0.5619 GB, free: 9.145 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6886242949403822]