Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.701/1.701, allocations: 251.5 MB / 267.4 MB, free: 11.1 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009573/0.0009573, allocations: 179.5 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.959/1.959, allocations: 205 MB / 0.5766 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008688/0.0008688, allocations: 90.84 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003347, allocations: 8.656 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2574, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001756/0.2592, allocations: 1.223 MB / 0.8979 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1476/0.4068, allocations: 129.9 MB / 1.025 GB, free: 0.5352 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.606e-05/0.4069, allocations: 0 / 1.025 GB, free: 0.5352 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 4.77e-05/0.407, allocations: 3.938 kB / 1.025 GB, free: 0.5312 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 7.929e-05/0.4071, allocations: 7.938 kB / 1.025 GB, free: 0.5234 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.4075, allocations: 59.78 kB / 1.025 GB, free: 476 kB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.4077, allocations: 47.86 kB / 1.025 GB, free: 428 kB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.4078, allocations: 19.95 kB / 1.025 GB, free: 408 kB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 6.411e-05/0.4079, allocations: 15.94 kB / 1.025 GB, free: 392 kB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 7.217e-05/0.4079, allocations: 31.78 kB / 1.025 GB, free: 360 kB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.408, allocations: 8 kB / 1.025 GB, free: 352 kB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 9.641e-05/0.4081, allocations: 12 kB / 1.025 GB, free: 340 kB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.4081, allocations: 3.984 kB / 1.025 GB, free: 336 kB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/0.4081, allocations: 15.88 kB / 1.025 GB, free: 320 kB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.4083, allocations: 43.92 kB / 1.025 GB, free: 276 kB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4083, allocations: 0 / 1.025 GB, free: 276 kB / 0.6667 GB Notification: Performance of FrontEnd: time 2.385e-06/0.4083, allocations: 0 / 1.025 GB, free: 276 kB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.4083, allocations: 0 / 1.025 GB, free: 276 kB / 0.6667 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.0006198/0.4089, allocations: 381.1 kB / 1.025 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.409, allocations: 8.031 kB / 1.025 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/0.409, allocations: 12.84 kB / 1.025 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.4092, allocations: 160.4 kB / 1.026 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.4092, allocations: 4.375 kB / 1.026 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.4092, allocations: 384 / 1.026 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.4095, allocations: 94.14 kB / 1.026 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.4096, allocations: 192 / 1.026 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.4096, allocations: 3.938 kB / 1.026 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.4096, allocations: 0 / 1.026 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004091/0.41, allocations: 91.92 kB / 1.026 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005746/0.4106, allocations: 288.7 kB / 1.026 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.4109, allocations: 74.36 kB / 1.026 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/0.4112, allocations: 52.91 kB / 1.026 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/0.4114, allocations: 89.09 kB / 1.026 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.4114, allocations: 34.56 kB / 1.026 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.4114, allocations: 0 / 1.026 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005993/0.412, allocations: 161.5 kB / 1.026 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.4121, allocations: 63.33 kB / 1.027 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.4122, allocations: 121.7 kB / 1.027 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.4122, allocations: 25.7 kB / 1.027 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.927e-05/0.4123, allocations: 96.2 kB / 1.027 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.4123, allocations: 7.906 kB / 1.027 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.4124, allocations: 13.7 kB / 1.027 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4125, allocations: 322.8 kB / 1.027 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.4127, allocations: 39.97 kB / 1.027 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.4129, allocations: 43.95 kB / 1.027 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.4132, allocations: 92.78 kB / 1.027 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.4132, allocations: 0 / 1.027 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003579/0.4136, allocations: 125.5 kB / 1.027 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.4136, allocations: 4 kB / 1.027 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.4136, allocations: 4 kB / 1.027 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.4136, allocations: 0 / 1.027 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.4137, allocations: 19.98 kB / 1.027 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.4138, allocations: 7.984 kB / 1.027 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.585e-05/0.4139, allocations: 19.97 kB / 1.027 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.4139, allocations: 0 / 1.027 GB, free: 13.61 MB / 0.6823 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 9.146e-05/0.414, allocations: 117.8 kB / 1.028 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.414, allocations: 7.906 kB / 1.028 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003924/0.4144, allocations: 129.8 kB / 1.028 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.4144, allocations: 4.031 kB / 1.028 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.4144, allocations: 0 / 1.028 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.4144, allocations: 3.938 kB / 1.028 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.4146, allocations: 177.5 kB / 1.028 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.4147, allocations: 4 kB / 1.028 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.4148, allocations: 23.92 kB / 1.028 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.4148, allocations: 4 kB / 1.028 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.4148, allocations: 0 / 1.028 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.4148, allocations: 4 kB / 1.028 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4148, allocations: 3.984 kB / 1.028 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004208/0.4152, allocations: 211.4 kB / 1.028 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.4153, allocations: 89.02 kB / 1.028 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.4153, allocations: 0 / 1.028 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.4154, allocations: 19.98 kB / 1.028 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/0.4155, allocations: 7.922 kB / 1.028 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.4155, allocations: 0 / 1.028 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.632e-05/0.4156, allocations: 95.27 kB / 1.028 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.884e-06/0.4156, allocations: 0 / 1.028 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002239/0.4158, allocations: 19.94 kB / 1.028 GB, free: 12.61 MB / 0.6823 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.0002032/0.416, allocations: 103.2 kB / 1.028 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003578/0.4164, allocations: 95.92 kB / 1.029 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.4164, allocations: 0 / 1.029 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.4166, allocations: 47.95 kB / 1.029 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.4169, allocations: 11.94 kB / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004161/0.4173, allocations: 195.8 kB / 1.029 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.4176, allocations: 0.6809 MB / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/0.4176, allocations: 15.38 kB / 1.029 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of SimCode: time 3.61e-07/0.4176, allocations: 0 / 1.029 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of Templates: time 0.002402/0.42, allocations: 0.9277 MB / 1.03 GB, free: 10.48 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)