Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004361/0.004361, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001025/0.001025, allocations: 191.4 kB / 16.67 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.2/1.2, allocations: 205.1 MB / 222.6 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.384/1.384, allocations: 251.7 MB / 0.5094 GB, free: 3.027 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 71.91 kB / 0.7258 GB, free: 9.141 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1743, allocations: 104.7 MB / 0.828 GB, free: 328 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002431/0.1768, allocations: 1.637 MB / 0.8296 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5183/0.6951, allocations: 151.6 MB / 0.9776 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.451e-05/0.6952, allocations: 1.688 kB / 0.9776 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.6954, allocations: 14.02 kB / 0.9777 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.6956, allocations: 45.39 kB / 0.9777 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.6959, allocations: 147.1 kB / 0.9778 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.6961, allocations: 116.3 kB / 0.978 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.945e-05/0.6962, allocations: 30.27 kB / 0.978 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009852/0.6972, allocations: 175.6 kB / 0.9782 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.6973, allocations: 42.28 kB / 0.9782 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.6973, allocations: 7.625 kB / 0.9782 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003099/0.6976, allocations: 180.7 kB / 0.9784 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.863e-05/0.6976, allocations: 22.3 kB / 0.9784 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.064e-05/0.6977, allocations: 47.45 kB / 0.9784 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.698, allocations: 198.5 kB / 0.9786 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.698, allocations: 0 / 0.9786 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.92e-07/0.698, allocations: 0 / 0.9786 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.698, allocations: 0 / 0.9786 GB, free: 5.301 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005543/0.6986, allocations: 442.1 kB / 0.979 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.744e-05/0.6986, allocations: 8.406 kB / 0.9791 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008244/0.6994, allocations: 91.23 kB / 0.9791 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.6996, allocations: 202.3 kB / 0.9793 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.6997, allocations: 7.562 kB / 0.9793 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.6997, allocations: 9.781 kB / 0.9794 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003914/0.7001, allocations: 134.8 kB / 0.9795 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.7001, allocations: 0 / 0.9795 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.7001, allocations: 5.281 kB / 0.9795 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.7001, allocations: 5.281 kB / 0.9795 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005125/0.7006, allocations: 135.6 kB / 0.9796 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006753/0.7013, allocations: 417.2 kB / 0.98 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006613/0.702, allocations: 255.1 kB / 0.9803 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.7022, allocations: 78.33 kB / 0.9803 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.7023, allocations: 1.094 kB / 0.9803 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.7023, allocations: 35.62 kB / 0.9804 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 9.81e-07/0.7023, allocations: 1.125 kB / 0.9804 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0007361/0.703, allocations: 217.8 kB / 0.9806 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.7031, allocations: 52.59 kB / 0.9806 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.7032, allocations: 147.8 kB / 0.9808 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.7032, allocations: 30.83 kB / 0.9808 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.7033, allocations: 109.3 kB / 0.9809 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.7033, allocations: 25.41 kB / 0.9809 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.7033, allocations: 22.91 kB / 0.981 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.598e-05/0.7034, allocations: 326 kB / 0.9813 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.7037, allocations: 53.62 kB / 0.9813 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.7039, allocations: 80.77 kB / 0.9814 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003943/0.7043, allocations: 118.1 kB / 0.9815 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.7043, allocations: 1 kB / 0.9815 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004836/0.7048, allocations: 167.6 kB / 0.9817 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.7048, allocations: 6.25 kB / 0.9817 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.7048, allocations: 3.938 kB / 0.9817 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.7048, allocations: 4 kB / 0.9817 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.705, allocations: 27.23 kB / 0.9817 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.705, allocations: 1.672 kB / 0.9817 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.7052, allocations: 15.61 kB / 0.9817 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.7052, allocations: 2.156 kB / 0.9817 GB, free: 3.082 MB / 0.7325 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 (8): * Single equations (assignments): 8 * 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 8.225e-05/0.7053, allocations: 130.4 kB / 0.9818 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.7053, allocations: 8.125 kB / 0.9819 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.797e-05/0.7054, allocations: 17.34 kB / 0.9819 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.7054, allocations: 1.375 kB / 0.9819 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.7054, allocations: 0 / 0.9819 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.7054, allocations: 0 / 0.9819 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007393/0.7061, allocations: 474.7 kB / 0.9823 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7061, allocations: 0 / 0.9823 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.7063, allocations: 28.17 kB / 0.9824 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.7063, allocations: 0 / 0.9824 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.7063, allocations: 2.391 kB / 0.9824 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.7063, allocations: 1.969 kB / 0.9824 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.7064, allocations: 3.938 kB / 0.9824 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004833/0.7068, allocations: 258.9 kB / 0.9826 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.706e-05/0.7069, allocations: 83.33 kB / 0.9827 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.7069, allocations: 3.344 kB / 0.9827 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.7071, allocations: 17.42 kB / 0.9827 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.7071, allocations: 18.7 kB / 0.9827 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-06/0.7071, allocations: 3.859 kB / 0.9827 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.177e-05/0.7072, allocations: 119.3 kB / 0.9828 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.7072, allocations: 0 / 0.9828 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002467/0.7075, allocations: 28.78 kB / 0.9829 GB, free: 2.191 MB / 0.7325 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 (8): * Single equations (assignments): 8 * 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.0001259/0.7076, allocations: 116.4 kB / 0.983 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004636/0.7081, allocations: 132.4 kB / 0.9831 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7081, allocations: 2.844 kB / 0.9831 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.7083, allocations: 66.39 kB / 0.9832 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.7086, allocations: 29.73 kB / 0.9832 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004851/0.7091, allocations: 231.2 kB / 0.9834 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.7093, allocations: 0.7039 MB / 0.9841 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001134/0.7094, allocations: 27.73 kB / 0.9841 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.7095, allocations: 16.8 kB / 0.9842 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of SimCode: time 2e-07/0.7095, allocations: 0 / 0.9842 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of Templates: time 0.004327/0.7138, allocations: 1.951 MB / 0.9861 GB, free: 0.6406 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)