Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 193.3 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.948/2.948, allocations: 472.6 MB / 0.7447 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001292, allocations: 58.98 kB / 0.9113 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3516, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002755/0.3544, allocations: 1.55 MB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.3557, allocations: 0.8335 MB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.111e-05/0.3558, allocations: 0 / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.372e-05/0.3558, allocations: 7.938 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.198e-05/0.3559, allocations: 3.938 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.3563, allocations: 111.6 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.112e-05/0.3564, allocations: 47.8 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3565, allocations: 23.97 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.674e-05/0.3566, allocations: 19.92 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.341e-05/0.3566, allocations: 23.86 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.3567, allocations: 4 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003355/0.357, allocations: 175.7 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.357, allocations: 7.984 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.3571, allocations: 19.88 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.3573, allocations: 147.9 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3574, allocations: 0 / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3574, allocations: 3.938 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.3574, allocations: 4 kB / 1.07 GB, free: 7.973 MB / 0.8262 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.0005962/0.358, allocations: 395.2 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.358, allocations: 12.03 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.3581, allocations: 0.9375 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.3582, allocations: 176.2 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.3582, allocations: 4.375 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.3582, allocations: 4.375 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.3585, allocations: 78.2 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.3585, allocations: 4.188 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3586, allocations: 3.938 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3586, allocations: 0 / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000299/0.3589, allocations: 71.92 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.3593, allocations: 292.6 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.3595, allocations: 62.53 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.3597, allocations: 36.92 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001971/0.3599, allocations: 93.09 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.3599, allocations: 30.56 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3599, allocations: 0 / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005617/0.3605, allocations: 129.5 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.3605, allocations: 59.41 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.336e-05/0.3606, allocations: 117.7 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.3607, allocations: 25.7 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.3607, allocations: 100 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.3607, allocations: 3.906 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.3608, allocations: 17.66 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.3609, allocations: 318.8 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.3611, allocations: 39.95 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.3612, allocations: 27.97 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.3615, allocations: 73 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.3615, allocations: 0 / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003264/0.3618, allocations: 101.6 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3619, allocations: 4 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3619, allocations: 0 / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.3619, allocations: 4 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.362, allocations: 15.97 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.362, allocations: 0 / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.441e-05/0.3621, allocations: 19.89 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3621, allocations: 0 / 1.073 GB, free: 5.453 MB / 0.8262 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 7.737e-05/0.3622, allocations: 117.8 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.3623, allocations: 4 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003786/0.3626, allocations: 109.5 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.3627, allocations: 7.984 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3627, allocations: 0 / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3627, allocations: 0 / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.3629, allocations: 169.6 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.3629, allocations: 0 / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.363, allocations: 23.91 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.363, allocations: 0 / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.363, allocations: 0 / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.363, allocations: 0 / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.363, allocations: 0 / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003973/0.3634, allocations: 207.3 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.3635, allocations: 85.03 kB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.3635, allocations: 0 / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.3636, allocations: 15.98 kB / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.3637, allocations: 8 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.3637, allocations: 3.984 kB / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.93e-05/0.3637, allocations: 95.66 kB / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3637, allocations: 0 / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002836/0.364, allocations: 35.89 kB / 1.073 GB, free: 4.48 MB / 0.8262 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.0002295/0.3643, allocations: 123.2 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003551/0.3646, allocations: 71.92 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3646, allocations: 0 / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.3648, allocations: 39.89 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.3652, allocations: 17.69 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003763/0.3655, allocations: 157 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.3658, allocations: 0.6809 MB / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.395e-05/0.3659, allocations: 7.984 kB / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.3659, allocations: 7.438 kB / 1.075 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.3659, allocations: 4 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.004048/0.37, allocations: 1.218 MB / 1.076 GB, free: 2.109 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)