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.001264/0.001264, allocations: 112.9 kB / 17.08 MB, free: 5.988 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.001169/0.00117, allocations: 193.8 kB / 18.02 MB, free: 5.078 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.381/1.381, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7282/0.7282, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 69.83 kB / 0.5583 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1302, allocations: 76.18 MB / 0.6327 GB, free: 4.484 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002359/0.1326, allocations: 1.254 MB / 0.634 GB, free: 3.219 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.5145/0.6472, allocations: 132 MB / 0.7629 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.936e-05/0.6472, allocations: 0 / 0.7629 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.121e-05/0.6473, allocations: 6.656 kB / 0.7629 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.341e-05/0.6474, allocations: 5.281 kB / 0.7629 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000395/0.6478, allocations: 62.84 kB / 0.763 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.212e-05/0.6479, allocations: 16.94 kB / 0.763 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.351e-05/0.6479, allocations: 3.094 kB / 0.763 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.009e-05/0.648, allocations: 12.92 kB / 0.763 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/0.6481, allocations: 6.891 kB / 0.763 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.6481, allocations: 1.281 kB / 0.763 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.916e-05/0.6482, allocations: 18.27 kB / 0.763 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.6482, allocations: 7.688 kB / 0.763 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.6482, allocations: 12.27 kB / 0.763 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.6484, allocations: 28.22 kB / 0.7631 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.6484, allocations: 0.5625 kB / 0.7631 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6484, allocations: 0 / 0.7631 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.6484, allocations: 0.625 kB / 0.7631 GB, free: 15.86 MB / 0.5919 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.000429/0.6488, allocations: 334.1 kB / 0.7634 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.6489, allocations: 9.531 kB / 0.7634 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.6489, allocations: 7 kB / 0.7634 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.649, allocations: 167.2 kB / 0.7636 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.609e-05/0.6491, allocations: 28.58 kB / 0.7636 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.6492, allocations: 4.578 kB / 0.7636 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.6493, allocations: 40.31 kB / 0.7636 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.6493, allocations: 4.531 kB / 0.7636 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.6493, allocations: 0.5 kB / 0.7636 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.6493, allocations: 0.5938 kB / 0.7636 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.887e-05/0.6494, allocations: 15.86 kB / 0.7637 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.6496, allocations: 158.1 kB / 0.7638 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.6497, allocations: 29.67 kB / 0.7638 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.348e-05/0.6498, allocations: 12.23 kB / 0.7638 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001723/0.65, allocations: 89.8 kB / 0.7639 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.65, allocations: 35.41 kB / 0.764 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.65, allocations: 5.094 kB / 0.764 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0002417/0.6502, allocations: 61.2 kB / 0.764 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.6503, allocations: 56.19 kB / 0.7641 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.384e-05/0.6504, allocations: 99.3 kB / 0.7642 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.6504, allocations: 26.3 kB / 0.7642 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.151e-05/0.6504, allocations: 80.95 kB / 0.7643 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.6505, allocations: 15.56 kB / 0.7643 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.6505, allocations: 15.62 kB / 0.7643 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.6506, allocations: 315.7 kB / 0.7646 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.763e-05/0.6507, allocations: 11.16 kB / 0.7646 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-05/0.6507, allocations: 7.578 kB / 0.7646 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.046e-05/0.6508, allocations: 24.42 kB / 0.7647 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6508, allocations: 0 / 0.7647 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001208/0.651, allocations: 55.7 kB / 0.7647 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.651, allocations: 8.531 kB / 0.7647 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.651, allocations: 4 kB / 0.7647 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.651, allocations: 0 / 0.7647 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.927e-05/0.6511, allocations: 7.859 kB / 0.7647 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.6511, allocations: 0 / 0.7647 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.065e-05/0.6511, allocations: 2.344 kB / 0.7647 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.6511, allocations: 0 / 0.7647 GB, free: 14.16 MB / 0.5919 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 6.793e-05/0.6512, allocations: 112.5 kB / 0.7648 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.6512, allocations: 7.938 kB / 0.7648 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.6514, allocations: 63.98 kB / 0.7649 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.6514, allocations: 0 / 0.7649 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.6514, allocations: 1.625 kB / 0.7649 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.6514, allocations: 0 / 0.7649 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.6515, allocations: 152.8 kB / 0.765 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.6515, allocations: 1.828 kB / 0.7651 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.109e-05/0.6516, allocations: 5.781 kB / 0.7651 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.6516, allocations: 3.938 kB / 0.7651 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.6516, allocations: 1.156 kB / 0.7651 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.6516, allocations: 3.625 kB / 0.7651 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6516, allocations: 4 kB / 0.7651 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.6518, allocations: 79.84 kB / 0.7651 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.017e-05/0.6518, allocations: 80.67 kB / 0.7652 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.6519, allocations: 8.469 kB / 0.7652 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.924e-05/0.6519, allocations: 1.375 kB / 0.7652 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.6519, allocations: 3.938 kB / 0.7652 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.6519, allocations: 0 / 0.7652 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.316e-05/0.652, allocations: 87.44 kB / 0.7653 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.92e-07/0.652, allocations: 1.188 kB / 0.7653 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001947/0.6522, allocations: 8.781 kB / 0.7653 GB, free: 13.56 MB / 0.5919 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.0001567/0.6524, allocations: 112.5 kB / 0.7654 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001437/0.6525, allocations: 25.84 kB / 0.7655 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.6525, allocations: 1.094 kB / 0.7655 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.951e-05/0.6526, allocations: 13.34 kB / 0.7655 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.6528, allocations: 12.53 kB / 0.7655 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/0.6532, allocations: 145.6 kB / 0.7656 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.6534, allocations: 0.676 MB / 0.7663 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.6534, allocations: 9.656 kB / 0.7663 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.6534, allocations: 1.203 kB / 0.7663 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of Templates: time 0.001998/0.6554, allocations: 0.572 MB / 0.7669 GB, free: 12.58 MB / 0.5919 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)