Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001237, allocations: 116.4 kB / 16.38 MB, free: 5.992 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.001192/0.001192, allocations: 188.7 kB / 17.31 MB, free: 5.605 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.608/1.608, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.882/1.882, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.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.001444/0.001444, allocations: 76.09 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3051, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.003085/0.3082, allocations: 1.282 MB / 0.786 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.7151/1.023, allocations: 132 MB / 0.915 GB, free: 1.879 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.828e-05/1.023, allocations: 0 / 0.915 GB, free: 1.879 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 2.498e-05/1.024, allocations: 3.938 kB / 0.915 GB, free: 1.875 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 5.473e-05/1.024, allocations: 9.25 kB / 0.915 GB, free: 1.867 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004356/1.024, allocations: 60.58 kB / 0.915 GB, free: 1.824 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 7.832e-05/1.024, allocations: 21.95 kB / 0.9151 GB, free: 1.812 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.294e-05/1.024, allocations: 1.344 kB / 0.9151 GB, free: 1.812 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 4.602e-05/1.024, allocations: 9.016 kB / 0.9151 GB, free: 1.812 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 6.191e-05/1.024, allocations: 15.98 kB / 0.9151 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/1.024, allocations: 1.969 kB / 0.9151 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 6.901e-05/1.024, allocations: 7.031 kB / 0.9151 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/1.024, allocations: 9.422 kB / 0.9151 GB, free: 1.793 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/1.025, allocations: 12.27 kB / 0.9151 GB, free: 1.785 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/1.025, allocations: 29.44 kB / 0.9151 GB, free: 1.773 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/1.025, allocations: 0.6562 kB / 0.9151 GB, free: 1.773 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.723e-06/1.025, allocations: 1.188 kB / 0.9151 GB, free: 1.773 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.548e-06/1.025, allocations: 0 / 0.9151 GB, free: 1.773 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004406/1.025, allocations: 333.6 kB / 0.9155 GB, free: 1.414 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/1.025, allocations: 10.53 kB / 0.9155 GB, free: 1.414 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/1.025, allocations: 5.094 kB / 0.9155 GB, free: 1.414 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/1.025, allocations: 165.6 kB / 0.9156 GB, free: 1.215 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.009e-05/1.025, allocations: 33.75 kB / 0.9157 GB, free: 1.18 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/1.025, allocations: 5.656 kB / 0.9157 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/1.026, allocations: 44.38 kB / 0.9157 GB, free: 1.133 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/1.026, allocations: 3.938 kB / 0.9157 GB, free: 1.129 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/1.026, allocations: 0 / 0.9157 GB, free: 1.129 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/1.026, allocations: 1.312 kB / 0.9157 GB, free: 1.129 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.281e-05/1.026, allocations: 11.83 kB / 0.9157 GB, free: 1.125 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/1.026, allocations: 153.7 kB / 0.9159 GB, free: 0.9297 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 8.993e-05/1.026, allocations: 31.36 kB / 0.9159 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.289e-05/1.026, allocations: 17.75 kB / 0.9159 GB, free: 0.8828 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/1.026, allocations: 89.78 kB / 0.916 GB, free: 0.7852 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/1.026, allocations: 35.94 kB / 0.916 GB, free: 0.7422 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/1.026, allocations: 0 / 0.916 GB, free: 0.7422 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3): time 0.0002418/1.026, allocations: 68.2 kB / 0.9161 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/1.027, allocations: 52.84 kB / 0.9162 GB, free: 0.625 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.908e-05/1.027, allocations: 97.55 kB / 0.9163 GB, free: 0.5234 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/1.027, allocations: 25.7 kB / 0.9163 GB, free: 0.4922 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 3.329e-05/1.027, allocations: 80.14 kB / 0.9164 GB, free: 420 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/1.027, allocations: 10.78 kB / 0.9164 GB, free: 412 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/1.027, allocations: 19.42 kB / 0.9164 GB, free: 388 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001027/1.027, allocations: 312.2 kB / 0.9167 GB, free: 68 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/1.027, allocations: 8.25 kB / 0.9167 GB, free: 64 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.719e-05/1.027, allocations: 8.734 kB / 0.9167 GB, free: 60 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.837e-05/1.027, allocations: 26.41 kB / 0.9167 GB, free: 40 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/1.027, allocations: 0.9062 kB / 0.9167 GB, free: 40 kB / 0.7012 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001417/1.027, allocations: 51.25 kB / 0.9168 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/1.027, allocations: 9.188 kB / 0.9168 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/1.027, allocations: 1.609 kB / 0.9168 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/1.027, allocations: 0 / 0.9168 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.551e-05/1.027, allocations: 9 kB / 0.9168 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/1.027, allocations: 0.9688 kB / 0.9168 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.204e-05/1.027, allocations: 8.953 kB / 0.9168 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/1.027, allocations: 1.125 kB / 0.9168 GB, free: 15.98 MB / 0.7169 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 6.674e-05/1.027, allocations: 107.6 kB / 0.9169 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/1.027, allocations: 5.969 kB / 0.9169 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/1.028, allocations: 70.09 kB / 0.917 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/1.028, allocations: 1.594 kB / 0.917 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.028, allocations: 4 kB / 0.917 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/1.028, allocations: 0 / 0.917 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/1.028, allocations: 154.2 kB / 0.9171 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.028, allocations: 1.125 kB / 0.9171 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/1.028, allocations: 5.062 kB / 0.9171 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/1.028, allocations: 5.719 kB / 0.9171 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/1.028, allocations: 4.5 kB / 0.9171 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.028, allocations: 0 / 0.9171 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/1.028, allocations: 0.8125 kB / 0.9171 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/1.028, allocations: 83.83 kB / 0.9172 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/1.028, allocations: 78.39 kB / 0.9173 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/1.028, allocations: 3.938 kB / 0.9173 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3e-05/1.028, allocations: 5.266 kB / 0.9173 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/1.028, allocations: 6.469 kB / 0.9173 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/1.028, allocations: 1.344 kB / 0.9173 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.254e-05/1.028, allocations: 78.12 kB / 0.9174 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/1.028, allocations: 5.25 kB / 0.9174 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001894/1.028, allocations: 8.438 kB / 0.9174 GB, free: 15.33 MB / 0.7169 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.0001723/1.029, allocations: 110.5 kB / 0.9175 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001482/1.029, allocations: 24.2 kB / 0.9175 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/1.029, allocations: 0 / 0.9175 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.839e-05/1.029, allocations: 11.7 kB / 0.9175 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/1.029, allocations: 7.344 kB / 0.9176 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/1.029, allocations: 154.7 kB / 0.9177 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/1.03, allocations: 0.6777 MB / 0.9184 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/1.03, allocations: 8.719 kB / 0.9184 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/1.03, allocations: 1.25 kB / 0.9184 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of Templates: time 0.001987/1.032, allocations: 0.574 MB / 0.9189 GB, free: 14.08 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)