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.000849/0.000849, allocations: 92.78 kB / 15.7 MB, free: 472 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.0008827/0.0008826, allocations: 171.2 kB / 16.58 MB, free: 6.066 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.351/1.351, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6971/0.6971, allocations: 115.5 MB / 407.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002816/0.0002816, allocations: 16 kB / 495.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1319, allocations: 77.52 MB / 0.5593 GB, free: 9.387 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00148/0.1334, allocations: 1.193 MB / 0.5605 GB, free: 8.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.403/0.5364, allocations: 119.6 MB / 0.6773 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/0.5365, allocations: 0 / 0.6773 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.5365, allocations: 0 / 0.6773 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.492e-05/0.5366, allocations: 3.938 kB / 0.6773 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.5369, allocations: 58.23 kB / 0.6774 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.932e-05/0.537, allocations: 51.77 kB / 0.6774 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.793e-05/0.5371, allocations: 12 kB / 0.6774 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.55e-05/0.5371, allocations: 19.92 kB / 0.6775 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.172e-05/0.5372, allocations: 19.91 kB / 0.6775 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.5372, allocations: 4 kB / 0.6775 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.935e-05/0.5373, allocations: 12 kB / 0.6775 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.5373, allocations: 7.922 kB / 0.6775 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.5373, allocations: 33.7 kB / 0.6775 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.737e-05/0.5374, allocations: 43.92 kB / 0.6776 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5374, allocations: 4 kB / 0.6776 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5374, allocations: 0 / 0.6776 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.5374, allocations: 0 / 0.6776 GB, free: 13.63 MB / 0.4981 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.0004687/0.5379, allocations: 375.5 kB / 0.6779 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.538, allocations: 8.031 kB / 0.6779 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.538, allocations: 11.91 kB / 0.678 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.5381, allocations: 167 kB / 0.6781 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.5381, allocations: 4 kB / 0.6781 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.5382, allocations: 0 / 0.6781 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.5384, allocations: 89.61 kB / 0.6782 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.5384, allocations: 4 kB / 0.6782 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.5384, allocations: 0 / 0.6782 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.5384, allocations: 0 / 0.6782 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002966/0.5387, allocations: 87.92 kB / 0.6783 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.5391, allocations: 293.5 kB / 0.6786 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.5393, allocations: 70.52 kB / 0.6786 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.5395, allocations: 44.92 kB / 0.6787 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.5397, allocations: 101 kB / 0.6788 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.5397, allocations: 30.56 kB / 0.6788 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.512e-06/0.5397, allocations: 0 / 0.6788 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005338/0.5402, allocations: 169.5 kB / 0.679 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.5403, allocations: 51.41 kB / 0.679 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.426e-05/0.5404, allocations: 121.8 kB / 0.6791 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.5404, allocations: 25.7 kB / 0.6792 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.5405, allocations: 92.11 kB / 0.6792 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.5405, allocations: 11.89 kB / 0.6793 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.5405, allocations: 0 / 0.6793 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.5406, allocations: 318.8 kB / 0.6796 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.5408, allocations: 47.95 kB / 0.6796 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.5409, allocations: 43.97 kB / 0.6796 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.541, allocations: 43.95 kB / 0.6797 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.541, allocations: 0 / 0.6797 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003213/0.5414, allocations: 125.5 kB / 0.6798 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.5414, allocations: 4 kB / 0.6798 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.5414, allocations: 0 / 0.6798 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.5414, allocations: 4 kB / 0.6798 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.5415, allocations: 19.98 kB / 0.6798 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5416, allocations: 3.984 kB / 0.6798 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.073e-05/0.5416, allocations: 21.66 kB / 0.6799 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.5417, allocations: 0 / 0.6799 GB, free: 11.06 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.139e-05/0.5417, allocations: 121.8 kB / 0.68 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.5418, allocations: 4 kB / 0.68 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003577/0.5421, allocations: 129.5 kB / 0.6801 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.5422, allocations: 4 kB / 0.6801 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.5422, allocations: 0 / 0.6801 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.5422, allocations: 0 / 0.6801 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.5423, allocations: 177.5 kB / 0.6803 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5424, allocations: 0 / 0.6803 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.726e-05/0.5425, allocations: 23.98 kB / 0.6803 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.5425, allocations: 0 / 0.6803 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.5425, allocations: 0 / 0.6803 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.155e-06/0.5425, allocations: 0.875 kB / 0.6803 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5425, allocations: 0 / 0.6803 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.5428, allocations: 219.5 kB / 0.6805 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.5429, allocations: 89.33 kB / 0.6806 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.5429, allocations: 0 / 0.6806 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.543, allocations: 19.98 kB / 0.6806 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.5431, allocations: 15.86 kB / 0.6806 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.5431, allocations: 0.6875 kB / 0.6806 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.699e-05/0.5432, allocations: 99.2 kB / 0.6807 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5432, allocations: 0 / 0.6807 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002419/0.5434, allocations: 16 kB / 0.6807 GB, free: 10.06 MB / 0.4981 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 (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.0001501/0.5436, allocations: 103.2 kB / 0.6808 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003254/0.5439, allocations: 99.91 kB / 0.6809 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5439, allocations: 0 / 0.6809 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.5441, allocations: 43.97 kB / 0.681 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.5444, allocations: 14.06 kB / 0.681 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003029/0.5447, allocations: 173 kB / 0.6812 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.5449, allocations: 0.6887 MB / 0.6818 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.775e-05/0.545, allocations: 4 kB / 0.6818 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.545, allocations: 11.44 kB / 0.6818 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.545, allocations: 0 / 0.6818 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of Templates: time 0.003089/0.5481, allocations: 0.8103 MB / 0.6826 GB, free: 8.07 MB / 0.4981 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)