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.001303/0.001303, allocations: 108.2 kB / 17.08 MB, free: 5.82 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.001311/0.001311, allocations: 197.8 kB / 18.02 MB, free: 4.965 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.329/1.329, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7251/0.7251, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 67.31 kB / 0.5583 GB, free: 32.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1424, allocations: 76.18 MB / 0.6327 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002698/0.1452, allocations: 1.482 MB / 0.6342 GB, free: 2.926 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.4611/0.6063, allocations: 132.1 MB / 0.7631 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.771e-05/0.6064, allocations: 1.969 kB / 0.7631 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.018e-05/0.6065, allocations: 6.469 kB / 0.7631 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.351e-05/0.6066, allocations: 11.72 kB / 0.7632 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.607, allocations: 68.38 kB / 0.7632 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.545e-05/0.6071, allocations: 50.14 kB / 0.7633 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 9.749e-05/0.6072, allocations: 14.72 kB / 0.7633 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.254e-05/0.6072, allocations: 19.91 kB / 0.7633 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.277e-05/0.6073, allocations: 23.83 kB / 0.7633 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.6073, allocations: 3.969 kB / 0.7633 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.716e-05/0.6074, allocations: 20.12 kB / 0.7633 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.6074, allocations: 15.41 kB / 0.7634 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.174e-05/0.6075, allocations: 27.19 kB / 0.7634 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.6076, allocations: 54 kB / 0.7634 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6076, allocations: 0 / 0.7634 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6076, allocations: 0.5938 kB / 0.7634 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.6076, allocations: 0 / 0.7634 GB, free: 15.66 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.000518/0.6082, allocations: 377.8 kB / 0.7638 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.6082, allocations: 9.688 kB / 0.7638 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.6083, allocations: 8.781 kB / 0.7638 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.6084, allocations: 169.7 kB / 0.764 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.6084, allocations: 3.469 kB / 0.764 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.6084, allocations: 9.75 kB / 0.764 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.6087, allocations: 70.62 kB / 0.7641 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.6087, allocations: 192 / 0.7641 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.6087, allocations: 8.344 kB / 0.7641 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.6087, allocations: 2.719 kB / 0.7641 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002993/0.609, allocations: 68.73 kB / 0.7641 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.6094, allocations: 292.3 kB / 0.7644 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.6096, allocations: 54.39 kB / 0.7645 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.6098, allocations: 42.91 kB / 0.7645 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.6099, allocations: 89.5 kB / 0.7646 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.61, allocations: 30.56 kB / 0.7646 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 2.505e-06/0.61, allocations: 5.172 kB / 0.7646 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0005211/0.6105, allocations: 136.8 kB / 0.7648 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.6105, allocations: 51.41 kB / 0.7648 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.587e-05/0.6106, allocations: 115.4 kB / 0.7649 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.6107, allocations: 26.91 kB / 0.7649 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.894e-05/0.6107, allocations: 92.25 kB / 0.765 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.6107, allocations: 12.75 kB / 0.765 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.6108, allocations: 15.38 kB / 0.7651 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.6109, allocations: 319.7 kB / 0.7654 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.611, allocations: 32.52 kB / 0.7654 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.6112, allocations: 30.56 kB / 0.7654 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.6114, allocations: 74.11 kB / 0.7655 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6115, allocations: 0 / 0.7655 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002985/0.6118, allocations: 98.52 kB / 0.7656 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.6118, allocations: 6.594 kB / 0.7656 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.6118, allocations: 5.844 kB / 0.7656 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.6118, allocations: 0 / 0.7656 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.6119, allocations: 15.86 kB / 0.7656 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.6119, allocations: 2.109 kB / 0.7656 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.312e-05/0.612, allocations: 23.52 kB / 0.7656 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.612, allocations: 2.062 kB / 0.7656 GB, free: 13.88 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 7.532e-05/0.6121, allocations: 115.9 kB / 0.7658 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.6121, allocations: 1.906 kB / 0.7658 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003368/0.6125, allocations: 118.4 kB / 0.7659 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.6125, allocations: 1.594 kB / 0.7659 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.6125, allocations: 1.203 kB / 0.7659 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.6125, allocations: 2.578 kB / 0.7659 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.6127, allocations: 170.3 kB / 0.766 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6127, allocations: 0 / 0.766 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.242e-05/0.6128, allocations: 20.17 kB / 0.7661 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.6128, allocations: 0 / 0.7661 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.6128, allocations: 2.891 kB / 0.7661 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6128, allocations: 0 / 0.7661 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6128, allocations: 0 / 0.7661 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.6132, allocations: 203.1 kB / 0.7662 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.6132, allocations: 78.45 kB / 0.7663 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.6132, allocations: 5.391 kB / 0.7663 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.6134, allocations: 13.89 kB / 0.7663 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.6134, allocations: 4 kB / 0.7663 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.6134, allocations: 5.094 kB / 0.7664 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.704e-05/0.6135, allocations: 96.3 kB / 0.7664 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6135, allocations: 0 / 0.7664 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002262/0.6137, allocations: 20.97 kB / 0.7665 GB, free: 13.2 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.0001477/0.6139, allocations: 109.9 kB / 0.7666 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003286/0.6142, allocations: 71.56 kB / 0.7666 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6142, allocations: 0 / 0.7666 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.6144, allocations: 38.77 kB / 0.7667 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.6147, allocations: 18.88 kB / 0.7667 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.615, allocations: 176.4 kB / 0.7669 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.6153, allocations: 0.6823 MB / 0.7675 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.6153, allocations: 10.31 kB / 0.7675 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of SimCode: time 1.122e-06/0.6153, allocations: 4 kB / 0.7675 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of Templates: time 0.002073/0.6174, allocations: 0.9412 MB / 0.7685 GB, free: 12.18 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)