Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 103.9 kB / 16.27 MB, free: 6.047 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.001767/0.001767, allocations: 186.7 kB / 17.19 MB, free: 5.688 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.379/1.379, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8043/0.8043, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001276, allocations: 67.89 kB / 0.4911 GB, free: 7.406 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3871, allocations: 77.92 MB / 0.5672 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.003469/0.3906, allocations: 1.263 MB / 0.5684 GB, free: 31.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1671/0.5577, allocations: 132 MB / 0.6974 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.708e-05/0.5578, allocations: 0 / 0.6974 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.471e-05/0.5579, allocations: 0 / 0.6974 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.338e-05/0.558, allocations: 11.92 kB / 0.6974 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/0.5585, allocations: 51.73 kB / 0.6974 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.85e-05/0.5586, allocations: 19.86 kB / 0.6974 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.394e-05/0.5587, allocations: 4 kB / 0.6974 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.205e-05/0.5587, allocations: 11.94 kB / 0.6975 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.04e-05/0.5588, allocations: 15.97 kB / 0.6975 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.5588, allocations: 0 / 0.6975 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.563e-05/0.5589, allocations: 12 kB / 0.6975 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.5589, allocations: 0 / 0.6975 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.559, allocations: 11.92 kB / 0.6975 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.5591, allocations: 33.89 kB / 0.6975 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.5591, allocations: 0 / 0.6975 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5591, allocations: 0 / 0.6975 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.5592, allocations: 3.938 kB / 0.6975 GB, free: 4.871 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004905/0.5596, allocations: 339.4 kB / 0.6979 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.5597, allocations: 8.625 kB / 0.6979 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.5597, allocations: 4.938 kB / 0.6979 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.5599, allocations: 164.3 kB / 0.698 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.892e-05/0.56, allocations: 34.25 kB / 0.6981 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.56, allocations: 384 / 0.6981 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.5602, allocations: 38.25 kB / 0.6981 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.5602, allocations: 3.938 kB / 0.6981 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.5602, allocations: 0 / 0.6981 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.5602, allocations: 8 kB / 0.6981 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.263e-05/0.5603, allocations: 11.98 kB / 0.6981 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002082/0.5605, allocations: 153.7 kB / 0.6983 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.5607, allocations: 38.55 kB / 0.6983 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.218e-05/0.5607, allocations: 12.94 kB / 0.6983 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001871/0.5609, allocations: 93.09 kB / 0.6984 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.5609, allocations: 34.55 kB / 0.6984 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.561, allocations: 0 / 0.6984 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.000253/0.5612, allocations: 61.62 kB / 0.6985 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.5613, allocations: 55.34 kB / 0.6985 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.664e-05/0.5613, allocations: 102 kB / 0.6986 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.5614, allocations: 25.7 kB / 0.6987 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/0.5614, allocations: 84.14 kB / 0.6988 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.5615, allocations: 19.75 kB / 0.6988 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.5615, allocations: 9.719 kB / 0.6988 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.5616, allocations: 318.8 kB / 0.6991 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.585e-05/0.5617, allocations: 8 kB / 0.6991 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.854e-05/0.5617, allocations: 7.984 kB / 0.6991 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.312e-05/0.5618, allocations: 16.86 kB / 0.6991 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.5618, allocations: 4 kB / 0.6991 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001373/0.562, allocations: 61.55 kB / 0.6992 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.562, allocations: 7.938 kB / 0.6992 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.562, allocations: 0 / 0.6992 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.562, allocations: 0 / 0.6992 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.704e-05/0.5621, allocations: 8 kB / 0.6992 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.5621, allocations: 0 / 0.6992 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.965e-05/0.5622, allocations: 0 / 0.6992 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.5622, allocations: 0 / 0.6992 GB, free: 2.922 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 8.695e-05/0.5623, allocations: 117.8 kB / 0.6993 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.5623, allocations: 7.938 kB / 0.6993 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.5625, allocations: 57.17 kB / 0.6994 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.5625, allocations: 4 kB / 0.6994 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.5625, allocations: 3.938 kB / 0.6994 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.5625, allocations: 0 / 0.6994 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.5626, allocations: 161.5 kB / 0.6995 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5626, allocations: 0 / 0.6995 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.247e-05/0.5627, allocations: 4 kB / 0.6995 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.5627, allocations: 7.938 kB / 0.6995 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.5627, allocations: 0 / 0.6995 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.5627, allocations: 4 kB / 0.6995 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5627, allocations: 0 / 0.6995 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.5629, allocations: 77.11 kB / 0.6996 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.5629, allocations: 77.11 kB / 0.6997 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.563, allocations: 3.938 kB / 0.6997 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.909e-05/0.563, allocations: 4 kB / 0.6997 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.563, allocations: 7.984 kB / 0.6997 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.563, allocations: 0 / 0.6997 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.91e-05/0.5631, allocations: 79.7 kB / 0.6998 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5631, allocations: 0 / 0.6998 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002043/0.5633, allocations: 12 kB / 0.6998 GB, free: 2.203 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.0001763/0.5635, allocations: 111.2 kB / 0.6999 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001582/0.5636, allocations: 24.12 kB / 0.6999 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5637, allocations: 0 / 0.6999 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.244e-05/0.5637, allocations: 16.06 kB / 0.6999 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.564, allocations: 4 kB / 0.6999 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.5644, allocations: 127.7 kB / 0.7001 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.5647, allocations: 0.6768 MB / 0.7007 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.402e-05/0.5647, allocations: 7.984 kB / 0.7007 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.5647, allocations: 11.44 kB / 0.7007 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.5647, allocations: 0 / 0.7007 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of Templates: time 0.003125/0.5679, allocations: 0.5215 MB / 0.7013 GB, free: 0.6602 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)