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.001548/0.001548, allocations: 115.4 kB / 17.08 MB, free: 6.008 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.001794/0.001794, allocations: 196.7 kB / 18.02 MB, free: 5.086 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.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6879/0.6879, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 64.62 kB / 0.5583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1254, allocations: 76.18 MB / 0.6327 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002007/0.1274, allocations: 1.261 MB / 0.634 GB, free: 3.164 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.4231/0.5506, allocations: 132 MB / 0.7629 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.362e-05/0.5506, allocations: 0.7812 kB / 0.7629 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.175e-05/0.5507, allocations: 3.938 kB / 0.7629 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.271e-05/0.5508, allocations: 5 kB / 0.7629 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.5511, allocations: 58.97 kB / 0.763 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.534e-05/0.5512, allocations: 20.53 kB / 0.763 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.752e-05/0.5512, allocations: 3.125 kB / 0.763 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.936e-05/0.5513, allocations: 15.44 kB / 0.763 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.503e-05/0.5513, allocations: 7.375 kB / 0.763 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.5514, allocations: 0 / 0.763 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 7.108e-05/0.5514, allocations: 17.31 kB / 0.763 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.5515, allocations: 3.641 kB / 0.763 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.5515, allocations: 10.39 kB / 0.763 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 9.546e-05/0.5516, allocations: 31.89 kB / 0.7631 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5516, allocations: 0 / 0.7631 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5516, allocations: 1.312 kB / 0.7631 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.5516, allocations: 1.094 kB / 0.7631 GB, free: 15.82 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.0003667/0.552, allocations: 330.5 kB / 0.7634 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.552, allocations: 9.906 kB / 0.7634 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.5521, allocations: 10.25 kB / 0.7634 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.963e-05/0.5522, allocations: 167.4 kB / 0.7636 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.836e-05/0.5523, allocations: 34.7 kB / 0.7636 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/0.5523, allocations: 1.562 kB / 0.7636 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.5524, allocations: 38.05 kB / 0.7636 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.5524, allocations: 8.594 kB / 0.7636 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.076e-06/0.5524, allocations: 1.094 kB / 0.7636 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.5524, allocations: 1.125 kB / 0.7636 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.024e-05/0.5525, allocations: 11.75 kB / 0.7637 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.5527, allocations: 150.4 kB / 0.7638 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.926e-05/0.5528, allocations: 37.47 kB / 0.7638 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.013e-05/0.5528, allocations: 12.61 kB / 0.7638 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/0.553, allocations: 89.7 kB / 0.7639 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.553, allocations: 31.59 kB / 0.764 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 2.655e-06/0.553, allocations: 0 / 0.764 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0002272/0.5532, allocations: 69.14 kB / 0.764 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.5533, allocations: 53 kB / 0.7641 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.253e-05/0.5534, allocations: 96.11 kB / 0.7642 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.5534, allocations: 29.52 kB / 0.7642 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.545e-05/0.5534, allocations: 80.64 kB / 0.7643 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.5534, allocations: 15.95 kB / 0.7643 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.5535, allocations: 16.09 kB / 0.7643 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.909e-05/0.5536, allocations: 311.5 kB / 0.7646 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.551e-05/0.5536, allocations: 11.09 kB / 0.7646 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.598e-05/0.5537, allocations: 10.28 kB / 0.7646 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.356e-05/0.5538, allocations: 27.81 kB / 0.7646 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5538, allocations: 1.203 kB / 0.7646 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001168/0.5539, allocations: 47.27 kB / 0.7647 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.5539, allocations: 9.312 kB / 0.7647 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.5539, allocations: 0 / 0.7647 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.5539, allocations: 7.688 kB / 0.7647 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.537e-05/0.554, allocations: 8.688 kB / 0.7647 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.554, allocations: 0.5625 kB / 0.7647 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/0.5541, allocations: 1.281 kB / 0.7647 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.5541, allocations: 1.625 kB / 0.7647 GB, free: 14.13 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.53e-05/0.5541, allocations: 114.4 kB / 0.7648 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.5542, allocations: 4.594 kB / 0.7648 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.5543, allocations: 60.48 kB / 0.7649 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.5543, allocations: 4 kB / 0.7649 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.5543, allocations: 1.562 kB / 0.7649 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.5543, allocations: 2.484 kB / 0.7649 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.19e-05/0.5544, allocations: 151.5 kB / 0.765 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5544, allocations: 0.6875 kB / 0.765 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.27e-05/0.5545, allocations: 6.344 kB / 0.765 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.5545, allocations: 4.688 kB / 0.7651 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.5545, allocations: 7.812 kB / 0.7651 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5545, allocations: 0.75 kB / 0.7651 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5545, allocations: 0 / 0.7651 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.5547, allocations: 84.31 kB / 0.7651 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.5547, allocations: 78.55 kB / 0.7652 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.5547, allocations: 13.72 kB / 0.7652 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.863e-05/0.5548, allocations: 1.375 kB / 0.7652 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.5548, allocations: 1.438 kB / 0.7652 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.5548, allocations: 3.594 kB / 0.7652 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.024e-05/0.5549, allocations: 77.56 kB / 0.7653 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5549, allocations: 4 kB / 0.7653 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001928/0.5551, allocations: 12.62 kB / 0.7653 GB, free: 13.52 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.0001279/0.5552, allocations: 112.9 kB / 0.7654 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001274/0.5553, allocations: 22.47 kB / 0.7655 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5553, allocations: 0 / 0.7655 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.381e-05/0.5554, allocations: 12.66 kB / 0.7655 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.5556, allocations: 13.34 kB / 0.7655 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002546/0.5559, allocations: 145.2 kB / 0.7656 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.5561, allocations: 0.6746 MB / 0.7663 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.921e-05/0.5561, allocations: 10.34 kB / 0.7663 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.5561, allocations: 0 / 0.7663 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of Templates: time 0.001773/0.5579, allocations: 0.576 MB / 0.7668 GB, free: 12.55 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)