Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001277/0.001277, allocations: 108.5 kB / 16.41 MB, free: 6.488 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.001621/0.001621, allocations: 191.9 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.742/0.742, allocations: 115.3 MB / 406.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 65.39 kB / 0.5577 GB, free: 32.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2167, allocations: 76.17 MB / 0.6321 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00358/0.2203, allocations: 1.268 MB / 0.6333 GB, free: 3.164 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.6407/0.861, allocations: 132 MB / 0.7622 GB, free: 308 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.424e-05/0.8611, allocations: 0 / 0.7622 GB, free: 308 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.512e-05/0.8611, allocations: 5.719 kB / 0.7622 GB, free: 304 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.931e-05/0.8612, allocations: 5.281 kB / 0.7622 GB, free: 300 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.8616, allocations: 62.52 kB / 0.7623 GB, free: 284 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.832e-05/0.8617, allocations: 17.64 kB / 0.7623 GB, free: 280 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.515e-05/0.8617, allocations: 4.969 kB / 0.7623 GB, free: 280 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.35e-05/0.8618, allocations: 13.95 kB / 0.7623 GB, free: 276 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.867e-05/0.8619, allocations: 10.16 kB / 0.7623 GB, free: 276 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.8619, allocations: 0.5625 kB / 0.7623 GB, free: 276 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.529e-05/0.862, allocations: 13.2 kB / 0.7624 GB, free: 276 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.862, allocations: 4.109 kB / 0.7624 GB, free: 276 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.862, allocations: 10.12 kB / 0.7624 GB, free: 276 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.8621, allocations: 30.97 kB / 0.7624 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.8622, allocations: 3.25 kB / 0.7624 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8622, allocations: 1.688 kB / 0.7624 GB, free: 272 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.8622, allocations: 0 / 0.7624 GB, free: 272 kB / 0.5762 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.0004788/0.8627, allocations: 332.2 kB / 0.7627 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.8627, allocations: 8.844 kB / 0.7627 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.8627, allocations: 7 kB / 0.7627 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.8629, allocations: 164.1 kB / 0.7629 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.553e-05/0.863, allocations: 28.92 kB / 0.7629 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.863, allocations: 6.531 kB / 0.7629 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.8631, allocations: 44.44 kB / 0.763 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.8632, allocations: 3.938 kB / 0.763 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.8632, allocations: 0.5625 kB / 0.763 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.8632, allocations: 0.5938 kB / 0.763 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.648e-05/0.8633, allocations: 15.8 kB / 0.763 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.8635, allocations: 157.4 kB / 0.7631 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.689e-05/0.8636, allocations: 33.66 kB / 0.7632 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.287e-05/0.8636, allocations: 12.36 kB / 0.7632 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001679/0.8638, allocations: 93.59 kB / 0.7633 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.8638, allocations: 39.69 kB / 0.7633 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.8638, allocations: 1.219 kB / 0.7633 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0002495/0.8641, allocations: 61.91 kB / 0.7634 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.8641, allocations: 51.97 kB / 0.7634 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.556e-05/0.8642, allocations: 99.3 kB / 0.7635 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.8642, allocations: 25.7 kB / 0.7635 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.647e-05/0.8643, allocations: 81.05 kB / 0.7636 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.8643, allocations: 16.39 kB / 0.7636 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.8643, allocations: 15.22 kB / 0.7637 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.8645, allocations: 312.1 kB / 0.7639 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.881e-05/0.8645, allocations: 14.58 kB / 0.764 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.123e-05/0.8646, allocations: 11.05 kB / 0.764 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.078e-05/0.8647, allocations: 23.02 kB / 0.764 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8647, allocations: 0.5 kB / 0.764 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001206/0.8648, allocations: 50.53 kB / 0.764 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.8648, allocations: 9.969 kB / 0.7641 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.8648, allocations: 0 / 0.7641 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.8649, allocations: 1.188 kB / 0.7641 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.97e-05/0.8649, allocations: 10.66 kB / 0.7641 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.8649, allocations: 0.75 kB / 0.7641 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.039e-05/0.865, allocations: 2.094 kB / 0.7641 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.865, allocations: 6.047 kB / 0.7641 GB, free: 14.57 MB / 0.5919 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 8.251e-05/0.8651, allocations: 110.4 kB / 0.7642 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.8651, allocations: 7.734 kB / 0.7642 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001718/0.8653, allocations: 56.28 kB / 0.7642 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.8653, allocations: 4.562 kB / 0.7642 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.8653, allocations: 0.5625 kB / 0.7642 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.8653, allocations: 0.5625 kB / 0.7642 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.8654, allocations: 153.7 kB / 0.7644 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.8654, allocations: 1.188 kB / 0.7644 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.322e-05/0.8655, allocations: 4.375 kB / 0.7644 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.8655, allocations: 5 kB / 0.7644 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.8655, allocations: 1.094 kB / 0.7644 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.8655, allocations: 3.188 kB / 0.7644 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.8655, allocations: 0 / 0.7644 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.8657, allocations: 87.92 kB / 0.7645 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.634e-05/0.8658, allocations: 80.48 kB / 0.7646 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.8658, allocations: 5.312 kB / 0.7646 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.092e-05/0.8658, allocations: 3.891 kB / 0.7646 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.8659, allocations: 1.281 kB / 0.7646 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.8659, allocations: 1.812 kB / 0.7646 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.887e-05/0.866, allocations: 83.22 kB / 0.7647 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.866, allocations: 5.203 kB / 0.7647 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001957/0.8662, allocations: 7.938 kB / 0.7647 GB, free: 13.96 MB / 0.5919 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.0001871/0.8664, allocations: 111.3 kB / 0.7648 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001723/0.8665, allocations: 24.09 kB / 0.7648 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.8665, allocations: 0 / 0.7648 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.316e-05/0.8666, allocations: 13.48 kB / 0.7648 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.8669, allocations: 4.688 kB / 0.7648 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.8672, allocations: 125.8 kB / 0.7649 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.8675, allocations: 0.6771 MB / 0.7656 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.162e-05/0.8676, allocations: 10.61 kB / 0.7656 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.054e-05/0.8676, allocations: 9.25 kB / 0.7656 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.8676, allocations: 5.531 kB / 0.7656 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of Templates: time 0.003261/0.8709, allocations: 0.513 MB / 0.7661 GB, free: 12.99 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)