Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.576/1.576, allocations: 292.3 MB / 308.1 MB, free: 4.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001205/0.001205, allocations: 183.2 kB / 376.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.1 MB / 0.6354 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008935/0.0008935, allocations: 108 kB / 0.748 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001086, allocations: 47.92 kB / 0.8703 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2351, allocations: 114.6 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003186/0.2383, allocations: 1.709 MB / 0.9839 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.5612/0.7995, allocations: 149.3 MB / 1.13 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.496e-05/0.7996, allocations: 0 / 1.13 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.7998, allocations: 14.62 kB / 1.13 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.8, allocations: 35.75 kB / 1.13 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.8003, allocations: 124.2 kB / 1.13 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.8004, allocations: 124.1 kB / 1.13 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.8006, allocations: 32.41 kB / 1.13 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001999/0.8026, allocations: 154.7 kB / 1.13 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.8026, allocations: 42.77 kB / 1.13 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.8027, allocations: 6.469 kB / 1.13 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.803, allocations: 174.2 kB / 1.13 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.004e-05/0.803, allocations: 18.86 kB / 1.13 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.002e-05/0.8031, allocations: 44.19 kB / 1.13 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.8033, allocations: 185.3 kB / 1.131 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.8033, allocations: 0 / 1.131 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.92e-07/0.8033, allocations: 4 kB / 1.131 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.8034, allocations: 0 / 1.131 GB, free: 7.906 MB / 0.7448 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.0005037/0.8039, allocations: 457.5 kB / 1.131 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.8039, allocations: 8.969 kB / 1.131 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007877/0.8047, allocations: 82 kB / 1.131 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.8049, allocations: 203.9 kB / 1.131 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.8049, allocations: 3 kB / 1.131 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.8049, allocations: 10.97 kB / 1.131 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003801/0.8053, allocations: 138.3 kB / 1.131 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.8053, allocations: 3.25 kB / 1.131 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.8053, allocations: 0.5 kB / 1.131 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.8053, allocations: 3.938 kB / 1.131 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004705/0.8058, allocations: 138.5 kB / 1.132 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006198/0.8065, allocations: 416.8 kB / 1.132 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006053/0.8071, allocations: 244.4 kB / 1.132 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.8073, allocations: 76.41 kB / 1.132 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.8073, allocations: 3.312 kB / 1.132 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.222e-05/0.8073, allocations: 34.5 kB / 1.132 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.8073, allocations: 4 kB / 1.132 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0006829/0.808, allocations: 213.6 kB / 1.133 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/0.8081, allocations: 58.62 kB / 1.133 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.836e-05/0.8082, allocations: 147.2 kB / 1.133 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.8082, allocations: 25.7 kB / 1.133 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.315e-05/0.8082, allocations: 102.6 kB / 1.133 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.8082, allocations: 30.22 kB / 1.133 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/0.8083, allocations: 27.58 kB / 1.133 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.487e-05/0.8083, allocations: 325.6 kB / 1.133 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.8085, allocations: 52.36 kB / 1.133 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.8087, allocations: 80.03 kB / 1.133 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003641/0.8091, allocations: 121.9 kB / 1.133 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8091, allocations: 0 / 1.133 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000413/0.8095, allocations: 152.1 kB / 1.134 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.8096, allocations: 13.61 kB / 1.134 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.8096, allocations: 0.625 kB / 1.134 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.8096, allocations: 0 / 1.134 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.8098, allocations: 31.55 kB / 1.134 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.8098, allocations: 0 / 1.134 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.8099, allocations: 16.36 kB / 1.134 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.8099, allocations: 7.875 kB / 1.134 GB, free: 5.699 MB / 0.7448 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 5.969e-05/0.81, allocations: 128.3 kB / 1.134 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.81, allocations: 14.38 kB / 1.134 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5e-05/0.8101, allocations: 15.94 kB / 1.134 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.8101, allocations: 0 / 1.134 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8101, allocations: 0 / 1.134 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.8101, allocations: 3.781 kB / 1.134 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006486/0.8108, allocations: 466.5 kB / 1.134 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.8108, allocations: 0 / 1.134 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.811, allocations: 29.78 kB / 1.134 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.811, allocations: 3.984 kB / 1.134 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.811, allocations: 11.06 kB / 1.134 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.811, allocations: 0.625 kB / 1.134 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.811, allocations: 3.938 kB / 1.134 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007561/0.8118, allocations: 0.8821 MB / 1.135 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/0.8118, allocations: 92.02 kB / 1.135 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.8118, allocations: 0 / 1.135 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.812, allocations: 17.52 kB / 1.135 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.8121, allocations: 14.27 kB / 1.135 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.8121, allocations: 3.094 kB / 1.135 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.843e-05/0.8121, allocations: 114.4 kB / 1.135 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8121, allocations: 0 / 1.135 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003344/0.8125, allocations: 30.47 kB / 1.135 GB, free: 4.195 MB / 0.7448 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.0001504/0.8126, allocations: 112 kB / 1.136 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000457/0.8131, allocations: 134.1 kB / 1.136 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8131, allocations: 0 / 1.136 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002055/0.8133, allocations: 62.06 kB / 1.136 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.8136, allocations: 42.09 kB / 1.136 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005373/0.8142, allocations: 391.3 kB / 1.136 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.8143, allocations: 0.7013 MB / 1.137 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001395/0.8144, allocations: 26.97 kB / 1.137 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.695e-05/0.8145, allocations: 17.03 kB / 1.137 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of SimCode: time 2.01e-07/0.8145, allocations: 0 / 1.137 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of Templates: time 0.003862/0.8184, allocations: 1.808 MB / 1.139 GB, free: 2.914 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)