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.000686/0.0006858, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004294/0.004294, allocations: 170 kB / 16.26 MB, free: 6.613 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.188/1.188, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.342/1.342, allocations: 252 MB / 0.5105 GB, free: 4.758 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.0004493/0.0004496, allocations: 12 kB / 0.6249 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3894, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001824/0.3912, allocations: 1.355 MB / 0.73 GB, free: 9.938 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1264/0.5177, allocations: 147.7 MB / 0.8743 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.652e-05/0.5178, allocations: 0 / 0.8743 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.5179, allocations: 7.875 kB / 0.8743 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.5181, allocations: 39.78 kB / 0.8743 GB, free: 5.641 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.5184, allocations: 123.6 kB / 0.8744 GB, free: 5.52 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.5186, allocations: 119.5 kB / 0.8745 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.5187, allocations: 35.34 kB / 0.8746 GB, free: 5.371 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001503/0.5202, allocations: 133 kB / 0.8747 GB, free: 5.258 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 6.157e-05/0.5202, allocations: 43.77 kB / 0.8748 GB, free: 5.215 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.5203, allocations: 4 kB / 0.8748 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002998/0.5206, allocations: 179.6 kB / 0.8749 GB, free: 5.035 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 3.204e-05/0.5206, allocations: 15.92 kB / 0.8749 GB, free: 5.02 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 5.569e-05/0.5207, allocations: 73.44 kB / 0.875 GB, free: 4.941 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.5209, allocations: 175.5 kB / 0.8752 GB, free: 4.77 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5209, allocations: 0 / 0.8752 GB, free: 4.77 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5209, allocations: 0 / 0.8752 GB, free: 4.77 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.5209, allocations: 0 / 0.8752 GB, free: 4.77 MB / 0.6856 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.0005052/0.5215, allocations: 450.4 kB / 0.8756 GB, free: 4.285 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.5215, allocations: 8.031 kB / 0.8756 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008092/0.5223, allocations: 83.92 kB / 0.8757 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.5225, allocations: 218.7 kB / 0.8759 GB, free: 3.941 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.5225, allocations: 8 kB / 0.8759 GB, free: 3.934 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.5225, allocations: 4 kB / 0.8759 GB, free: 3.93 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/0.5229, allocations: 145.6 kB / 0.8761 GB, free: 3.781 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.5229, allocations: 0 / 0.8761 GB, free: 3.781 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.523, allocations: 4 kB / 0.8761 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.523, allocations: 3.938 kB / 0.8761 GB, free: 3.773 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005137/0.5235, allocations: 159.8 kB / 0.8762 GB, free: 3.617 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006438/0.5241, allocations: 412.5 kB / 0.8766 GB, free: 3.164 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006476/0.5248, allocations: 263.7 kB / 0.8769 GB, free: 2.879 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/0.5251, allocations: 88.73 kB / 0.8769 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.5251, allocations: 7.938 kB / 0.877 GB, free: 2.781 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.5251, allocations: 34.56 kB / 0.877 GB, free: 2.738 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=8): time 9.91e-07/0.5251, allocations: 0 / 0.877 GB, free: 2.738 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8): time 0.0007441/0.5259, allocations: 245.3 kB / 0.8772 GB, free: 2.492 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.5259, allocations: 59.41 kB / 0.8773 GB, free: 2.422 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.924e-05/0.526, allocations: 148.3 kB / 0.8774 GB, free: 2.27 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.526, allocations: 25.7 kB / 0.8774 GB, free: 2.238 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.5261, allocations: 104.1 kB / 0.8775 GB, free: 2.133 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.5261, allocations: 27.7 kB / 0.8776 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.5261, allocations: 13.72 kB / 0.8776 GB, free: 2.086 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.113e-05/0.5262, allocations: 322.8 kB / 0.8779 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.5265, allocations: 71.94 kB / 0.878 GB, free: 1.691 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.5267, allocations: 90.5 kB / 0.878 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/0.5271, allocations: 137.3 kB / 0.8782 GB, free: 1.457 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5271, allocations: 0 / 0.8782 GB, free: 1.457 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004687/0.5276, allocations: 185.4 kB / 0.8784 GB, free: 1.27 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.5276, allocations: 6.5 kB / 0.8784 GB, free: 1.266 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.5276, allocations: 4 kB / 0.8784 GB, free: 1.262 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.5276, allocations: 4 kB / 0.8784 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.5278, allocations: 35.97 kB / 0.8784 GB, free: 1.223 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.5278, allocations: 4 kB / 0.8784 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.528, allocations: 23.97 kB / 0.8784 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.528, allocations: 4 kB / 0.8784 GB, free: 1.191 MB / 0.6856 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 7.749e-05/0.5281, allocations: 121.7 kB / 0.8785 GB, free: 1.062 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.5281, allocations: 11.81 kB / 0.8786 GB, free: 1.051 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.405e-05/0.5282, allocations: 24.64 kB / 0.8786 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.5282, allocations: 0 / 0.8786 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5282, allocations: 4 kB / 0.8786 GB, free: 1.02 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.5282, allocations: 0 / 0.8786 GB, free: 1.02 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007339/0.529, allocations: 486.4 kB / 0.879 GB, free: 500 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.529, allocations: 0 / 0.879 GB, free: 500 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.5291, allocations: 27.97 kB / 0.8791 GB, free: 472 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5292, allocations: 4 kB / 0.8791 GB, free: 468 kB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.5292, allocations: 4 kB / 0.8791 GB, free: 464 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.5292, allocations: 11.81 kB / 0.8791 GB, free: 452 kB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5292, allocations: 0 / 0.8791 GB, free: 452 kB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004844/0.5297, allocations: 275.3 kB / 0.8794 GB, free: 160 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.5297, allocations: 92.91 kB / 0.8794 GB, free: 48 kB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.5297, allocations: 0 / 0.8794 GB, free: 48 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.5299, allocations: 31.86 kB / 0.8795 GB, free: 16 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.53, allocations: 7.984 kB / 0.8795 GB, free: 8 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.53, allocations: 4 kB / 0.8795 GB, free: 4 kB / 0.6856 GB Notification: Performance of sorting global known variables: time 7.007e-05/0.5301, allocations: 114.3 kB / 0.8796 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5301, allocations: 0 / 0.8796 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000237/0.5303, allocations: 35.94 kB / 0.8796 GB, free: 15.86 MB / 0.7012 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.0001366/0.5304, allocations: 111.2 kB / 0.8797 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004692/0.5309, allocations: 151.8 kB / 0.8799 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5309, allocations: 0 / 0.8799 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.5312, allocations: 75.88 kB / 0.88 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.5315, allocations: 35.91 kB / 0.88 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004886/0.532, allocations: 261.1 kB / 0.8802 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.5322, allocations: 0.7043 MB / 0.8809 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001336/0.5323, allocations: 28.34 kB / 0.881 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.5324, allocations: 19.42 kB / 0.881 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of SimCode: time 1.9e-07/0.5324, allocations: 0 / 0.881 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of Templates: time 0.003588/0.536, allocations: 1.741 MB / 0.8827 GB, free: 12.71 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: