Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0007712/0.0007712, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008859/0.000886, allocations: 181.8 kB / 16.92 MB, free: 6.914 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.309/1.309, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8946/0.8946, allocations: 135.3 MB / 427.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.000354, allocations: 8 kB / 0.5082 GB, free: 4.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1435, allocations: 82.31 MB / 0.5886 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001223/0.1447, allocations: 0.9909 MB / 0.5896 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3601/0.5048, allocations: 128.5 MB / 0.7151 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.314e-05/0.5049, allocations: 0 / 0.7151 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.5049, allocations: 4.984 kB / 0.7151 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.587e-05/0.505, allocations: 6.375 kB / 0.7151 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.5053, allocations: 48.83 kB / 0.7151 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.972e-05/0.5053, allocations: 23.94 kB / 0.7151 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.472e-05/0.5054, allocations: 2.406 kB / 0.7151 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.86e-05/0.5054, allocations: 15.67 kB / 0.7152 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.909e-05/0.5055, allocations: 4.656 kB / 0.7152 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.5055, allocations: 1.219 kB / 0.7152 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.514e-05/0.5056, allocations: 13.55 kB / 0.7152 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.5056, allocations: 2.625 kB / 0.7152 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.5056, allocations: 42.44 kB / 0.7152 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.544e-05/0.5057, allocations: 15.86 kB / 0.7152 GB, free: 13.63 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5057, allocations: 6.078 kB / 0.7152 GB, free: 13.62 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5057, allocations: 0 / 0.7152 GB, free: 13.62 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.5057, allocations: 0 / 0.7152 GB, free: 13.62 MB / 0.545 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.0003346/0.5061, allocations: 330.4 kB / 0.7156 GB, free: 13.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.5061, allocations: 8.875 kB / 0.7156 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.5061, allocations: 4.547 kB / 0.7156 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.372e-05/0.5062, allocations: 163.2 kB / 0.7157 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.108e-05/0.5063, allocations: 34.42 kB / 0.7158 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.5063, allocations: 1.75 kB / 0.7158 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.5065, allocations: 47.41 kB / 0.7158 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.5065, allocations: 3.938 kB / 0.7158 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.5065, allocations: 1.312 kB / 0.7158 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.5065, allocations: 0.7969 kB / 0.7158 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.035e-05/0.5066, allocations: 11.27 kB / 0.7158 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.5067, allocations: 161.6 kB / 0.716 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.453e-05/0.5068, allocations: 29.78 kB / 0.716 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.951e-05/0.5069, allocations: 16.62 kB / 0.716 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001444/0.507, allocations: 88.59 kB / 0.7161 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.5071, allocations: 36.33 kB / 0.7161 GB, free: 12.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.5071, allocations: 0 / 0.7161 GB, free: 12.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002204/0.5073, allocations: 66.42 kB / 0.7162 GB, free: 12.57 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.5073, allocations: 53.34 kB / 0.7163 GB, free: 12.51 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.095e-05/0.5074, allocations: 99.58 kB / 0.7164 GB, free: 12.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.5074, allocations: 25.7 kB / 0.7164 GB, free: 12.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.015e-05/0.5075, allocations: 80.14 kB / 0.7165 GB, free: 12.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.5075, allocations: 14.69 kB / 0.7165 GB, free: 12.28 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.5075, allocations: 10.38 kB / 0.7165 GB, free: 12.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.5076, allocations: 321.4 kB / 0.7168 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.237e-05/0.5077, allocations: 5.797 kB / 0.7168 GB, free: 11.95 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.422e-05/0.5077, allocations: 6.391 kB / 0.7168 GB, free: 11.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.459e-05/0.5078, allocations: 26.97 kB / 0.7168 GB, free: 11.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5078, allocations: 0.6562 kB / 0.7168 GB, free: 11.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000118/0.5079, allocations: 48.62 kB / 0.7169 GB, free: 11.89 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.508, allocations: 8.875 kB / 0.7169 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.508, allocations: 0.7969 kB / 0.7169 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.508, allocations: 5.469 kB / 0.7169 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.891e-05/0.508, allocations: 5.797 kB / 0.7169 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.5081, allocations: 0 / 0.7169 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.893e-05/0.5081, allocations: 5.188 kB / 0.7169 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.5081, allocations: 1.922 kB / 0.7169 GB, free: 11.89 MB / 0.545 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.763e-05/0.5082, allocations: 111 kB / 0.717 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-06/0.5082, allocations: 6.625 kB / 0.717 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/0.5083, allocations: 65.66 kB / 0.7171 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.5084, allocations: 1.375 kB / 0.7171 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.5084, allocations: 0 / 0.7171 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.5084, allocations: 5.578 kB / 0.7171 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.812e-05/0.5085, allocations: 152 kB / 0.7172 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5085, allocations: 2.047 kB / 0.7172 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.818e-05/0.5085, allocations: 5.844 kB / 0.7172 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.5085, allocations: 3.938 kB / 0.7172 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.5085, allocations: 2.125 kB / 0.7172 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5085, allocations: 0 / 0.7172 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5086, allocations: 0 / 0.7172 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.5087, allocations: 86.97 kB / 0.7173 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.5088, allocations: 79.92 kB / 0.7174 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.5088, allocations: 6.688 kB / 0.7174 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.836e-05/0.5088, allocations: 2.219 kB / 0.7174 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.5088, allocations: 3 kB / 0.7174 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.5089, allocations: 0 / 0.7174 GB, free: 11.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.353e-05/0.5089, allocations: 87.53 kB / 0.7175 GB, free: 11.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5089, allocations: 4 kB / 0.7175 GB, free: 11.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001877/0.5091, allocations: 12.72 kB / 0.7175 GB, free: 11.25 MB / 0.545 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.000137/0.5092, allocations: 104.8 kB / 0.7176 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001235/0.5094, allocations: 22.36 kB / 0.7176 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.5094, allocations: 0 / 0.7176 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.534e-05/0.5094, allocations: 12.95 kB / 0.7176 GB, free: 11.15 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.5096, allocations: 11.92 kB / 0.7176 GB, free: 11.15 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.5099, allocations: 164.3 kB / 0.7178 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.5101, allocations: 0.6786 MB / 0.7185 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/0.5102, allocations: 11.27 kB / 0.7185 GB, free: 10.29 MB / 0.545 GB Notification: Performance of SimCode: time 3.6e-07/0.5102, allocations: 3.938 kB / 0.7185 GB, free: 10.29 MB / 0.545 GB Notification: Performance of Templates: time 0.001671/0.5118, allocations: 0.5672 MB / 0.719 GB, free: 10.26 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)