Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.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.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 104 kB / 16.4 MB, free: 6.508 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.001755/0.001755, allocations: 196 kB / 17.34 MB, free: 5.742 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.448/1.448, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7436/0.7436, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.61 kB / 0.5577 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1651, allocations: 76.17 MB / 0.6321 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002941/0.1681, allocations: 1.482 MB / 0.6335 GB, free: 2.922 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.5434/0.7115, allocations: 132.1 MB / 0.7625 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.949e-05/0.7116, allocations: 0 / 0.7625 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.602e-05/0.7117, allocations: 5.75 kB / 0.7625 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.385e-05/0.7118, allocations: 8.062 kB / 0.7625 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.7122, allocations: 72.39 kB / 0.7626 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.7123, allocations: 49.39 kB / 0.7626 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.7125, allocations: 16.33 kB / 0.7626 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 6.7e-05/0.7125, allocations: 20.61 kB / 0.7626 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.111e-05/0.7126, allocations: 25.88 kB / 0.7627 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.7126, allocations: 6.094 kB / 0.7627 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.7128, allocations: 20.69 kB / 0.7627 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.7128, allocations: 9.859 kB / 0.7627 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.7128, allocations: 21.7 kB / 0.7627 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.713, allocations: 57.72 kB / 0.7628 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.713, allocations: 3.562 kB / 0.7628 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.834e-06/0.713, allocations: 4.594 kB / 0.7628 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.299e-06/0.713, allocations: 1.312 kB / 0.7628 GB, free: 15.69 MB / 0.5919 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.0006178/0.7136, allocations: 375.8 kB / 0.7631 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.7137, allocations: 9.281 kB / 0.7632 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.7137, allocations: 6.781 kB / 0.7632 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.7139, allocations: 167.2 kB / 0.7633 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.7139, allocations: 2.031 kB / 0.7633 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.7139, allocations: 2.625 kB / 0.7633 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.7142, allocations: 83.75 kB / 0.7634 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.7142, allocations: 192 / 0.7634 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.7143, allocations: 4.5 kB / 0.7634 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.7143, allocations: 5.125 kB / 0.7634 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003271/0.7146, allocations: 68.91 kB / 0.7635 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.715, allocations: 289.3 kB / 0.7638 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.7153, allocations: 60.03 kB / 0.7638 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.7154, allocations: 35.22 kB / 0.7639 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001775/0.7156, allocations: 94.8 kB / 0.7639 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.7156, allocations: 30.56 kB / 0.764 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.7156, allocations: 1.219 kB / 0.764 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0005678/0.7162, allocations: 130.2 kB / 0.7641 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.7163, allocations: 55.34 kB / 0.7641 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.666e-05/0.7164, allocations: 118.8 kB / 0.7643 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.7164, allocations: 26.73 kB / 0.7643 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.7164, allocations: 94.2 kB / 0.7644 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.7165, allocations: 9.859 kB / 0.7644 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.7165, allocations: 15 kB / 0.7644 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.204e-05/0.7166, allocations: 319.7 kB / 0.7647 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.7168, allocations: 35.95 kB / 0.7647 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.7169, allocations: 33.02 kB / 0.7648 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.7172, allocations: 65.34 kB / 0.7648 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7172, allocations: 1.203 kB / 0.7648 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003165/0.7175, allocations: 102 kB / 0.7649 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.7175, allocations: 11.61 kB / 0.7649 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.7175, allocations: 0 / 0.7649 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.7176, allocations: 1.312 kB / 0.7649 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.7177, allocations: 20.44 kB / 0.765 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.7177, allocations: 2.109 kB / 0.765 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.217e-05/0.7178, allocations: 20.67 kB / 0.765 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.7178, allocations: 1.344 kB / 0.765 GB, free: 13.91 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 0.0001743/0.718, allocations: 119.5 kB / 0.7651 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.718, allocations: 2.719 kB / 0.7651 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003656/0.7184, allocations: 108.8 kB / 0.7652 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.7184, allocations: 0 / 0.7652 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.7184, allocations: 0 / 0.7652 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.7184, allocations: 1.312 kB / 0.7652 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.7186, allocations: 171.8 kB / 0.7654 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.7186, allocations: 5.375 kB / 0.7654 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.549e-05/0.7187, allocations: 14.39 kB / 0.7654 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7187, allocations: 0 / 0.7654 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.7188, allocations: 5.312 kB / 0.7654 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7188, allocations: 0 / 0.7654 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.7188, allocations: 5.281 kB / 0.7654 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.7191, allocations: 198.3 kB / 0.7656 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.7192, allocations: 82.14 kB / 0.7657 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.7192, allocations: 7.5 kB / 0.7657 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.7193, allocations: 14.52 kB / 0.7657 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.7194, allocations: 8.609 kB / 0.7657 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.7194, allocations: 1.438 kB / 0.7657 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.077e-05/0.7195, allocations: 89.58 kB / 0.7658 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.81e-07/0.7195, allocations: 0 / 0.7658 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002456/0.7197, allocations: 21.44 kB / 0.7658 GB, free: 13.23 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.0001789/0.7199, allocations: 108.6 kB / 0.7659 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003553/0.7203, allocations: 75.05 kB / 0.766 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7203, allocations: 0 / 0.766 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.7204, allocations: 34.5 kB / 0.766 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.7207, allocations: 14.14 kB / 0.766 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.7211, allocations: 162.8 kB / 0.7662 GB, free: 13 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.7215, allocations: 0.6817 MB / 0.7668 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.506e-05/0.7215, allocations: 4.109 kB / 0.7669 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.7216, allocations: 9.094 kB / 0.7669 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.7216, allocations: 0 / 0.7669 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.003099/0.7247, allocations: 1.005 MB / 0.7678 GB, free: 12.21 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)