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.007149/0.007149, allocations: 101.5 kB / 15.88 MB, free: 6.312 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.001282/0.001282, allocations: 196.9 kB / 16.79 MB, free: 6.242 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.49/1.49, allocations: 222.9 MB / 240.5 MB, free: 13.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7751/0.7751, allocations: 122.9 MB / 413.5 MB, free: 76 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 67.89 kB / 0.4904 GB, free: 7.922 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.3997, allocations: 77.91 MB / 0.5665 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003352/0.4031, allocations: 1.546 MB / 0.568 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1754/0.5785, allocations: 129.9 MB / 0.6949 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.778e-05/0.5787, allocations: 0 / 0.6949 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.764e-05/0.5787, allocations: 0 / 0.6949 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.576e-05/0.5788, allocations: 11.92 kB / 0.6949 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004382/0.5793, allocations: 55.78 kB / 0.695 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.841e-05/0.5794, allocations: 51.8 kB / 0.695 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.5795, allocations: 17.95 kB / 0.695 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.205e-05/0.5796, allocations: 19.92 kB / 0.695 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.568e-05/0.5797, allocations: 19.86 kB / 0.6951 GB, free: 7 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.5797, allocations: 4 kB / 0.6951 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.974e-05/0.5798, allocations: 15.98 kB / 0.6951 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.5798, allocations: 11.98 kB / 0.6951 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.287e-05/0.5799, allocations: 19.86 kB / 0.6951 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.58, allocations: 63.81 kB / 0.6952 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.58, allocations: 0 / 0.6952 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.263e-06/0.58, allocations: 0 / 0.6952 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.5801, allocations: 0 / 0.6952 GB, free: 6.887 MB / 0.5294 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.0006555/0.5807, allocations: 373.2 kB / 0.6955 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.5808, allocations: 12.02 kB / 0.6955 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.5808, allocations: 4.938 kB / 0.6955 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.5809, allocations: 176.2 kB / 0.6957 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.581, allocations: 12.31 kB / 0.6957 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.581, allocations: 384 / 0.6957 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.5813, allocations: 74.2 kB / 0.6958 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.5813, allocations: 192 / 0.6958 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.5813, allocations: 11.94 kB / 0.6958 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.5813, allocations: 0 / 0.6958 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.5816, allocations: 67.92 kB / 0.6959 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.582, allocations: 284.7 kB / 0.6961 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.5822, allocations: 58.53 kB / 0.6962 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.5824, allocations: 40.91 kB / 0.6962 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000175/0.5826, allocations: 85.11 kB / 0.6963 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.5826, allocations: 42.55 kB / 0.6964 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.5826, allocations: 0 / 0.6964 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005792/0.5832, allocations: 137.6 kB / 0.6965 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.5832, allocations: 51.41 kB / 0.6965 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.5834, allocations: 123.2 kB / 0.6967 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.5834, allocations: 25.7 kB / 0.6967 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.5834, allocations: 88.05 kB / 0.6968 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.5835, allocations: 7.906 kB / 0.6968 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.5835, allocations: 17.72 kB / 0.6968 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.5836, allocations: 322.8 kB / 0.6971 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.5838, allocations: 27.97 kB / 0.6971 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.5839, allocations: 35.95 kB / 0.6972 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.5842, allocations: 72.72 kB / 0.6972 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5843, allocations: 0 / 0.6972 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003158/0.5846, allocations: 101.5 kB / 0.6973 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.5846, allocations: 4 kB / 0.6973 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.5846, allocations: 0 / 0.6973 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.5846, allocations: 0 / 0.6973 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.5848, allocations: 19.98 kB / 0.6974 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.5848, allocations: 0 / 0.6974 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.176e-05/0.5849, allocations: 23.91 kB / 0.6974 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.5849, allocations: 0 / 0.6974 GB, free: 4.391 MB / 0.5294 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.42e-05/0.5849, allocations: 114.4 kB / 0.6975 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.585, allocations: 4 kB / 0.6975 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003687/0.5854, allocations: 117.4 kB / 0.6976 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.5854, allocations: 0 / 0.6976 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.5854, allocations: 0 / 0.6976 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5854, allocations: 0 / 0.6976 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.5856, allocations: 181.5 kB / 0.6978 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5856, allocations: 0 / 0.6978 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.807e-05/0.5857, allocations: 11.98 kB / 0.6978 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.5857, allocations: 4 kB / 0.6978 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.5857, allocations: 4 kB / 0.6978 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5857, allocations: 0 / 0.6978 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5857, allocations: 0 / 0.6978 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.5861, allocations: 199.3 kB / 0.698 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.731e-05/0.5861, allocations: 89.02 kB / 0.6981 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.5861, allocations: 0 / 0.6981 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.5863, allocations: 11.98 kB / 0.6981 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.5863, allocations: 7.984 kB / 0.6981 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.5863, allocations: 0 / 0.6981 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.028e-05/0.5864, allocations: 95.27 kB / 0.6982 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5864, allocations: 0 / 0.6982 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002343/0.5866, allocations: 12 kB / 0.6982 GB, free: 3.453 MB / 0.5294 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.0001427/0.5868, allocations: 119.2 kB / 0.6983 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000357/0.5871, allocations: 67.92 kB / 0.6984 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5871, allocations: 0 / 0.6984 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.5873, allocations: 36.23 kB / 0.6984 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.5877, allocations: 19.92 kB / 0.6984 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/0.5881, allocations: 165.4 kB / 0.6986 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.5883, allocations: 0.681 MB / 0.6992 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.744e-05/0.5884, allocations: 11.98 kB / 0.6993 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.5884, allocations: 7.438 kB / 0.6993 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of SimCode: time 3.5e-07/0.5884, allocations: 0 / 0.6993 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of Templates: time 0.003341/0.5917, allocations: 0.8548 MB / 0.7001 GB, free: 1.453 MB / 0.5294 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)