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.0008954/0.0008954, allocations: 97.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009735/0.0009735, allocations: 179.7 kB / 16.57 MB, free: 6.859 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.354/1.354, allocations: 223.2 MB / 240.5 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.68/0.68, allocations: 113.8 MB / 405.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0003001, allocations: 8 kB / 493 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1307, allocations: 77.15 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001362/0.1321, allocations: 1.188 MB / 0.558 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3801/0.5122, allocations: 112 MB / 0.6673 GB, free: 8.543 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.271e-05/0.5123, allocations: 0 / 0.6673 GB, free: 8.543 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.11e-05/0.5123, allocations: 7.922 kB / 0.6674 GB, free: 8.535 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.117e-05/0.5124, allocations: 11.98 kB / 0.6674 GB, free: 8.523 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.5127, allocations: 47.84 kB / 0.6674 GB, free: 8.477 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.204e-05/0.5128, allocations: 31.95 kB / 0.6674 GB, free: 8.445 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.344e-05/0.5129, allocations: 19.98 kB / 0.6675 GB, free: 8.426 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.926e-05/0.5129, allocations: 19.91 kB / 0.6675 GB, free: 8.406 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.224e-05/0.513, allocations: 19.92 kB / 0.6675 GB, free: 8.387 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.513, allocations: 4 kB / 0.6675 GB, free: 8.383 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.257e-05/0.5131, allocations: 15.98 kB / 0.6675 GB, free: 8.367 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.326e-05/0.5131, allocations: 7.938 kB / 0.6675 GB, free: 8.359 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.5132, allocations: 29.7 kB / 0.6676 GB, free: 8.324 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.776e-05/0.5133, allocations: 40.83 kB / 0.6676 GB, free: 8.289 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.5133, allocations: 0 / 0.6676 GB, free: 8.289 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5133, allocations: 0 / 0.6676 GB, free: 8.289 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.5133, allocations: 0 / 0.6676 GB, free: 8.289 MB / 494.1 MB 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.0004961/0.5138, allocations: 385.6 kB / 0.668 GB, free: 7.867 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.5139, allocations: 16 kB / 0.668 GB, free: 7.852 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.5139, allocations: 7.906 kB / 0.668 GB, free: 7.844 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.514, allocations: 167 kB / 0.6681 GB, free: 7.641 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.514, allocations: 8 kB / 0.6681 GB, free: 7.633 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.514, allocations: 0 / 0.6681 GB, free: 7.633 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.5143, allocations: 85.59 kB / 0.6682 GB, free: 7.543 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.5143, allocations: 4 kB / 0.6682 GB, free: 7.539 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.5143, allocations: 4 kB / 0.6682 GB, free: 7.535 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.5144, allocations: 4 kB / 0.6682 GB, free: 7.531 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.5147, allocations: 87.92 kB / 0.6683 GB, free: 7.445 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.5151, allocations: 284.6 kB / 0.6686 GB, free: 7.117 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.5153, allocations: 70.53 kB / 0.6687 GB, free: 7.039 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001489/0.5155, allocations: 89.19 kB / 0.6688 GB, free: 6.934 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.5155, allocations: 30.56 kB / 0.6688 GB, free: 6.895 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.5155, allocations: 0 / 0.6688 GB, free: 6.895 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005506/0.5161, allocations: 169.5 kB / 0.6689 GB, free: 6.723 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.5161, allocations: 55.41 kB / 0.669 GB, free: 6.656 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.5e-05/0.5162, allocations: 114.9 kB / 0.6691 GB, free: 6.535 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.5162, allocations: 29.64 kB / 0.6691 GB, free: 6.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.5163, allocations: 96.03 kB / 0.6692 GB, free: 6.402 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.5163, allocations: 7.906 kB / 0.6692 GB, free: 6.395 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.5163, allocations: 0 / 0.6692 GB, free: 6.395 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5164, allocations: 318.8 kB / 0.6695 GB, free: 6.074 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.5166, allocations: 43.95 kB / 0.6696 GB, free: 6.031 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.5167, allocations: 43.97 kB / 0.6696 GB, free: 5.988 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.5169, allocations: 39.91 kB / 0.6697 GB, free: 5.949 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5169, allocations: 4 kB / 0.6697 GB, free: 5.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003387/0.5173, allocations: 125.6 kB / 0.6698 GB, free: 5.816 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.5173, allocations: 8 kB / 0.6698 GB, free: 5.809 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.5173, allocations: 0 / 0.6698 GB, free: 5.809 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.5173, allocations: 0 / 0.6698 GB, free: 5.809 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.5174, allocations: 19.98 kB / 0.6698 GB, free: 5.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.5175, allocations: 3.938 kB / 0.6698 GB, free: 5.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.5176, allocations: 19.89 kB / 0.6698 GB, free: 5.766 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.5176, allocations: 7.984 kB / 0.6698 GB, free: 5.758 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.559e-05/0.5177, allocations: 119.5 kB / 0.67 GB, free: 5.633 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.5177, allocations: 0 / 0.67 GB, free: 5.633 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000422/0.5181, allocations: 129.8 kB / 0.6701 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.5182, allocations: 4.031 kB / 0.6701 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5182, allocations: 4 kB / 0.6701 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.5182, allocations: 0 / 0.6701 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.5183, allocations: 177.7 kB / 0.6703 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5184, allocations: 3.953 kB / 0.6703 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.98e-05/0.5185, allocations: 23.98 kB / 0.6703 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.5185, allocations: 0 / 0.6703 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.5185, allocations: 2.625 kB / 0.6703 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.5185, allocations: 0 / 0.6703 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5185, allocations: 0 / 0.6703 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.5189, allocations: 219.4 kB / 0.6705 GB, free: 5.008 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/0.5189, allocations: 88.91 kB / 0.6706 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.5189, allocations: 8 kB / 0.6706 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.5191, allocations: 15.98 kB / 0.6706 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.5191, allocations: 11.92 kB / 0.6706 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.5191, allocations: 0 / 0.6706 GB, free: 4.867 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.959e-05/0.5192, allocations: 91.27 kB / 0.6707 GB, free: 4.777 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5192, allocations: 0 / 0.6707 GB, free: 4.777 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002264/0.5194, allocations: 12 kB / 0.6707 GB, free: 4.766 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001368/0.5196, allocations: 111.9 kB / 0.6708 GB, free: 4.648 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003677/0.5199, allocations: 91.92 kB / 0.6709 GB, free: 4.559 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.52, allocations: 0 / 0.6709 GB, free: 4.559 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.5201, allocations: 47.91 kB / 0.6709 GB, free: 4.512 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.5203, allocations: 15.66 kB / 0.671 GB, free: 4.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.5207, allocations: 172.9 kB / 0.6711 GB, free: 4.301 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.521, allocations: 0.6887 MB / 0.6718 GB, free: 3.586 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.998e-05/0.5211, allocations: 4 kB / 0.6718 GB, free: 3.582 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.5211, allocations: 11.44 kB / 0.6718 GB, free: 3.57 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5211, allocations: 0 / 0.6718 GB, free: 3.57 MB / 494.1 MB Notification: Performance of Templates: time 0.002777/0.5239, allocations: 0.8147 MB / 0.6726 GB, free: 2.773 MB / 494.1 MB 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)