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.001417/0.001417, allocations: 105.3 kB / 16.52 MB, free: 6.668 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.001224/0.001224, allocations: 195.2 kB / 17.44 MB, free: 6.043 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.31/1.31, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6874/0.6874, allocations: 115.3 MB / 406.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 63.91 kB / 493.6 MB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3214, allocations: 76.17 MB / 0.5564 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002413/0.3238, allocations: 1.546 MB / 0.5579 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1255/0.4494, allocations: 129.9 MB / 0.6848 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.727e-05/0.4495, allocations: 0 / 0.6848 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.962e-05/0.4495, allocations: 0 / 0.6848 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.218e-05/0.4496, allocations: 15.86 kB / 0.6848 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.45, allocations: 59.61 kB / 0.6848 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.417e-05/0.4501, allocations: 43.86 kB / 0.6849 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.335e-05/0.4502, allocations: 17.95 kB / 0.6849 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.05e-05/0.4502, allocations: 23.91 kB / 0.6849 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.587e-05/0.4503, allocations: 23.92 kB / 0.6849 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.4503, allocations: 4 kB / 0.6849 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.065e-05/0.4504, allocations: 15.98 kB / 0.685 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.4504, allocations: 7.938 kB / 0.685 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.4505, allocations: 23.86 kB / 0.685 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.791e-05/0.4506, allocations: 39.89 kB / 0.685 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4506, allocations: 4 kB / 0.685 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd: time 8.32e-07/0.4506, allocations: 0 / 0.685 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.4506, allocations: 4 kB / 0.685 GB, free: 0.543 MB / 0.5137 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.0005078/0.4511, allocations: 371.3 kB / 0.6854 GB, free: 132 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.4512, allocations: 11.97 kB / 0.6854 GB, free: 120 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.4512, allocations: 8.844 kB / 0.6854 GB, free: 112 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.4514, allocations: 172.2 kB / 0.6856 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.4514, allocations: 8.375 kB / 0.6856 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.4514, allocations: 384 / 0.6856 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.4516, allocations: 78.2 kB / 0.6857 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.4517, allocations: 192 / 0.6857 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.4517, allocations: 7.938 kB / 0.6857 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.4517, allocations: 0 / 0.6857 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002803/0.452, allocations: 71.8 kB / 0.6857 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.4524, allocations: 288.7 kB / 0.686 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.4526, allocations: 54.55 kB / 0.6861 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.4527, allocations: 36.91 kB / 0.6861 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001657/0.4529, allocations: 93.09 kB / 0.6862 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.4529, allocations: 38.5 kB / 0.6862 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4529, allocations: 0 / 0.6862 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005235/0.4535, allocations: 129.6 kB / 0.6863 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.4535, allocations: 55.39 kB / 0.6864 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.669e-05/0.4536, allocations: 117.8 kB / 0.6865 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.4536, allocations: 25.7 kB / 0.6865 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.4537, allocations: 88.08 kB / 0.6866 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.4537, allocations: 15.81 kB / 0.6866 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.4537, allocations: 13.7 kB / 0.6866 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.4539, allocations: 322.8 kB / 0.687 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.454, allocations: 35.95 kB / 0.687 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.4541, allocations: 35.97 kB / 0.687 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.4544, allocations: 68.72 kB / 0.6871 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4544, allocations: 4 kB / 0.6871 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003089/0.4547, allocations: 97.62 kB / 0.6872 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.4548, allocations: 5.875 kB / 0.6872 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4548, allocations: 0 / 0.6872 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.4548, allocations: 0 / 0.6872 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.4549, allocations: 19.97 kB / 0.6872 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.4549, allocations: 0 / 0.6872 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.168e-05/0.455, allocations: 19.92 kB / 0.6872 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.455, allocations: 0 / 0.6872 GB, free: 14.05 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.525e-05/0.4551, allocations: 113.8 kB / 0.6873 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.4551, allocations: 11.84 kB / 0.6873 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003779/0.4555, allocations: 109.5 kB / 0.6875 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.4555, allocations: 0 / 0.6875 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4555, allocations: 0 / 0.6875 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.4556, allocations: 0 / 0.6875 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.4557, allocations: 181.6 kB / 0.6876 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4557, allocations: 0 / 0.6876 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.166e-05/0.4558, allocations: 11.98 kB / 0.6876 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4558, allocations: 0 / 0.6876 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.4559, allocations: 4 kB / 0.6876 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4559, allocations: 3.984 kB / 0.6876 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4559, allocations: 4 kB / 0.6876 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.4562, allocations: 199.3 kB / 0.6878 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.4563, allocations: 81.11 kB / 0.6879 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.4563, allocations: 3.938 kB / 0.6879 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.4564, allocations: 19.97 kB / 0.6879 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.4565, allocations: 0 / 0.6879 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.4565, allocations: 0 / 0.6879 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.4e-05/0.4565, allocations: 105.5 kB / 0.688 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4566, allocations: 0 / 0.688 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002322/0.4568, allocations: 16 kB / 0.6881 GB, free: 13.1 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.0001363/0.4569, allocations: 103.2 kB / 0.6882 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003302/0.4573, allocations: 76.28 kB / 0.6882 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4573, allocations: 0 / 0.6882 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.4574, allocations: 35.95 kB / 0.6883 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.4578, allocations: 12.12 kB / 0.6883 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/0.4581, allocations: 197.8 kB / 0.6885 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.4584, allocations: 0.6809 MB / 0.6891 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.4585, allocations: 11.44 kB / 0.6891 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.4585, allocations: 0 / 0.6891 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of Templates: time 0.00254/0.461, allocations: 0.9358 MB / 0.6901 GB, free: 11 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)