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.001363/0.001363, allocations: 89.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.001737/0.001737, allocations: 165 kB / 23.01 MB, free: 1.555 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.9981/0.9981, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.001785/0.001785, allocations: 241.2 kB / 260.2 MB, free: 12.81 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.7142/0.7142, allocations: 138.4 MB / 455.2 MB, free: 1.578 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.313e-06/1.313e-06, allocations: 3.938 kB / 0.5551 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.301e-05/1.433e-05, allocations: 6.312 kB / 0.5551 GB, free: 0.543 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001545/0.001559, allocations: 1.321 MB / 0.5564 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009077/0.002467, allocations: 0.838 MB / 0.5572 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.078e-05/0.002488, allocations: 0 / 0.5572 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.201e-05/0.00251, allocations: 0 / 0.5572 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.222e-05/0.002552, allocations: 3.938 kB / 0.5572 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.002972, allocations: 143.2 kB / 0.5574 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.283e-05/0.003034, allocations: 27.86 kB / 0.5574 GB, free: 14.19 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.154e-05/0.003066, allocations: 0 / 0.5574 GB, free: 14.19 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.833e-05/0.003114, allocations: 15.97 kB / 0.5574 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.227e-05/0.003167, allocations: 7.984 kB / 0.5574 GB, free: 14.17 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.003181, allocations: 7.938 kB / 0.5574 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.003394, allocations: 159.7 kB / 0.5576 GB, free: 14 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.00341, allocations: 3.984 kB / 0.5576 GB, free: 14 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.538e-05/0.003435, allocations: 15.92 kB / 0.5576 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.003628, allocations: 135.6 kB / 0.5577 GB, free: 13.85 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.00363, allocations: 0 / 0.5577 GB, free: 13.85 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.003631, allocations: 0 / 0.5577 GB, free: 13.85 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.003634, allocations: 0 / 0.5577 GB, free: 13.85 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.0003424/0.003977, allocations: 396.3 kB / 0.5581 GB, free: 13.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.004011, allocations: 12.75 kB / 0.5581 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.004049, allocations: 4.938 kB / 0.5581 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.728e-05/0.004126, allocations: 112.6 kB / 0.5582 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.697e-05/0.004193, allocations: 59.95 kB / 0.5583 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.004204, allocations: 4.375 kB / 0.5583 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.004313, allocations: 80.66 kB / 0.5584 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.00432, allocations: 192 / 0.5584 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.004328, allocations: 4.312 kB / 0.5584 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.004337, allocations: 4.125 kB / 0.5584 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.657e-05/0.004363, allocations: 8 kB / 0.5584 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001203/0.004484, allocations: 116.6 kB / 0.5585 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.004628, allocations: 47.09 kB / 0.5585 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.004649, allocations: 15.69 kB / 0.5586 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001489/0.004798, allocations: 28.06 kB / 0.5586 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.004819, allocations: 37.39 kB / 0.5586 GB, free: 12.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.00482, allocations: 0 / 0.5586 GB, free: 12.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.000134/0.004954, allocations: 53.62 kB / 0.5587 GB, free: 12.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.004984, allocations: 55.41 kB / 0.5587 GB, free: 12.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.29e-05/0.005047, allocations: 165.9 kB / 0.5589 GB, free: 12.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.005056, allocations: 25.7 kB / 0.5589 GB, free: 12.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.802e-05/0.005084, allocations: 126.9 kB / 0.559 GB, free: 12.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.005108, allocations: 19.84 kB / 0.559 GB, free: 12.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/0.005133, allocations: 19.38 kB / 0.5591 GB, free: 12.28 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.005239, allocations: 496.1 kB / 0.5595 GB, free: 11.78 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.562e-05/0.005254, allocations: 7.984 kB / 0.5595 GB, free: 11.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.112e-05/0.005265, allocations: 4 kB / 0.5595 GB, free: 11.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.248e-05/0.005298, allocations: 27.62 kB / 0.5596 GB, free: 11.74 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.0053, allocations: 0 / 0.5596 GB, free: 11.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.71e-05/0.005357, allocations: 46.16 kB / 0.5596 GB, free: 11.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.005368, allocations: 8 kB / 0.5596 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.005372, allocations: 4 kB / 0.5596 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.005387, allocations: 48 / 0.5596 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.273e-05/0.005419, allocations: 11.97 kB / 0.5596 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.005427, allocations: 11.88 kB / 0.5597 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.221e-05/0.005439, allocations: 0 / 0.5597 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.005444, allocations: 4 kB / 0.5597 GB, free: 11.65 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 5.83e-05/0.005502, allocations: 156.6 kB / 0.5598 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/0.005511, allocations: 11.89 kB / 0.5598 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.253e-05/0.005593, allocations: 57.36 kB / 0.5599 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.005595, allocations: 0 / 0.5599 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.005598, allocations: 4 kB / 0.5599 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.005601, allocations: 3.938 kB / 0.5599 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.422e-05/0.005665, allocations: 112.6 kB / 0.56 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.005667, allocations: 4 kB / 0.56 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.822e-05/0.005685, allocations: 7.984 kB / 0.56 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.005687, allocations: 0 / 0.56 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.005692, allocations: 0 / 0.56 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.005694, allocations: 4 kB / 0.56 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.005695, allocations: 0 / 0.56 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.778e-05/0.005763, allocations: 92.31 kB / 0.5601 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.889e-05/0.005791, allocations: 7.953 kB / 0.5601 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.005802, allocations: 7.984 kB / 0.5601 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.639e-05/0.005819, allocations: 0 / 0.5601 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.005848, allocations: 0 / 0.5601 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.005852, allocations: 8 kB / 0.5601 GB, free: 11.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.01e-05/0.005882, allocations: 127.1 kB / 0.5602 GB, free: 10.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005882, allocations: 4 kB / 0.5602 GB, free: 10.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001646/0.006047, allocations: 35.81 kB / 0.5603 GB, free: 10.94 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.0001421/0.006189, allocations: 139.1 kB / 0.5604 GB, free: 10.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.243e-05/0.006261, allocations: 35.61 kB / 0.5604 GB, free: 10.76 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.006263, allocations: 0 / 0.5604 GB, free: 10.76 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.053e-05/0.006283, allocations: 15.69 kB / 0.5605 GB, free: 10.74 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.00641, allocations: 15.92 kB / 0.5605 GB, free: 10.72 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.006844, allocations: 133.4 kB / 0.5606 GB, free: 10.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.861e-05/0.006872, allocations: 59.3 kB / 0.5607 GB, free: 10.49 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.521e-05/0.006898, allocations: 8 kB / 0.5607 GB, free: 10.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.929e-05/0.006917, allocations: 8.5 kB / 0.5607 GB, free: 10.47 MB / 490.7 MB Notification: Performance of SimCode: time 4.21e-07/0.006917, allocations: 0 / 0.5607 GB, free: 10.47 MB / 490.7 MB Notification: Performance of Templates: time 0.002602/0.009519, allocations: 1.158 MB / 0.5618 GB, free: 9.324 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.909131420776248]