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.001051/0.001051, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008198/0.008198, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.377/1.377, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9879/0.9879, allocations: 135.3 MB / 426.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004107/0.0004103, allocations: 17.33 kB / 0.5076 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1624, allocations: 82.3 MB / 0.588 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001448/0.1639, allocations: 0.99 MB / 0.5889 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4371/0.601, allocations: 128.5 MB / 0.7144 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.77e-05/0.6011, allocations: 1.438 kB / 0.7144 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.979e-05/0.6011, allocations: 4.688 kB / 0.7144 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.25e-05/0.6011, allocations: 0.6094 kB / 0.7144 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.6015, allocations: 50.12 kB / 0.7145 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.625e-05/0.6016, allocations: 28.31 kB / 0.7145 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/0.6016, allocations: 3.062 kB / 0.7145 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.771e-05/0.6017, allocations: 8.75 kB / 0.7145 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.376e-05/0.6018, allocations: 11.36 kB / 0.7145 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.6018, allocations: 0 / 0.7145 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.158e-05/0.6019, allocations: 13.42 kB / 0.7145 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.6019, allocations: 10.03 kB / 0.7146 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.845e-05/0.6019, allocations: 30.73 kB / 0.7146 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.6021, allocations: 28.31 kB / 0.7146 GB, free: 13.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.6021, allocations: 1.406 kB / 0.7146 GB, free: 13.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6021, allocations: 3.938 kB / 0.7146 GB, free: 13.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.6021, allocations: 4 kB / 0.7146 GB, free: 13.88 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.0004184/0.6025, allocations: 330.9 kB / 0.7149 GB, free: 13.52 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.6026, allocations: 9.562 kB / 0.7149 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.6026, allocations: 3.312 kB / 0.7149 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.6028, allocations: 164.7 kB / 0.7151 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.953e-05/0.6029, allocations: 29.94 kB / 0.7151 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.6029, allocations: 384 / 0.7151 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.603, allocations: 44.7 kB / 0.7152 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.603, allocations: 4.812 kB / 0.7152 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.6031, allocations: 0 / 0.7152 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.6031, allocations: 1.25 kB / 0.7152 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.289e-05/0.6032, allocations: 15.34 kB / 0.7152 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001934/0.6034, allocations: 156.3 kB / 0.7153 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.6035, allocations: 30.33 kB / 0.7154 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.777e-05/0.6035, allocations: 16.48 kB / 0.7154 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/0.6037, allocations: 87.91 kB / 0.7155 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.6038, allocations: 32.2 kB / 0.7155 GB, free: 12.88 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.6038, allocations: 1.281 kB / 0.7155 GB, free: 12.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002472/0.604, allocations: 65.86 kB / 0.7156 GB, free: 12.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.6041, allocations: 52.5 kB / 0.7156 GB, free: 12.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.211e-05/0.6042, allocations: 104 kB / 0.7157 GB, free: 12.67 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.6042, allocations: 25.7 kB / 0.7157 GB, free: 12.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.822e-05/0.6042, allocations: 81.39 kB / 0.7158 GB, free: 12.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.6042, allocations: 22.52 kB / 0.7158 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/0.6043, allocations: 9.719 kB / 0.7158 GB, free: 12.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.6044, allocations: 312.9 kB / 0.7161 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.608e-05/0.6044, allocations: 6.094 kB / 0.7162 GB, free: 12.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-05/0.6045, allocations: 11.25 kB / 0.7162 GB, free: 12.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.833e-05/0.6046, allocations: 26.41 kB / 0.7162 GB, free: 12.19 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.6046, allocations: 0 / 0.7162 GB, free: 12.19 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001444/0.6047, allocations: 56.27 kB / 0.7162 GB, free: 12.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.6048, allocations: 12 kB / 0.7163 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6048, allocations: 0 / 0.7163 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.6048, allocations: 2.156 kB / 0.7163 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.291e-05/0.6049, allocations: 6.234 kB / 0.7163 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.6049, allocations: 0.6094 kB / 0.7163 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.288e-05/0.6049, allocations: 5.938 kB / 0.7163 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.6049, allocations: 2.094 kB / 0.7163 GB, free: 12.14 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 7.792e-05/0.605, allocations: 107.8 kB / 0.7164 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.605, allocations: 6.828 kB / 0.7164 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.6052, allocations: 62.66 kB / 0.7164 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.6052, allocations: 0 / 0.7164 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6053, allocations: 1.031 kB / 0.7164 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.6053, allocations: 0.6562 kB / 0.7164 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.6054, allocations: 160.7 kB / 0.7166 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6054, allocations: 0.75 kB / 0.7166 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.439e-05/0.6054, allocations: 8.438 kB / 0.7166 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.6055, allocations: 5.828 kB / 0.7166 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.6055, allocations: 0 / 0.7166 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6055, allocations: 1.719 kB / 0.7166 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6055, allocations: 0 / 0.7166 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.6056, allocations: 74.03 kB / 0.7167 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.625e-05/0.6057, allocations: 85.28 kB / 0.7168 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.6057, allocations: 8.734 kB / 0.7168 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.962e-05/0.6058, allocations: 1.891 kB / 0.7168 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.6058, allocations: 6.797 kB / 0.7168 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.6058, allocations: 1.156 kB / 0.7168 GB, free: 11.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.679e-05/0.6059, allocations: 79.39 kB / 0.7169 GB, free: 11.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.643e-06/0.6059, allocations: 0 / 0.7169 GB, free: 11.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001995/0.6061, allocations: 16.59 kB / 0.7169 GB, free: 11.51 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.0001692/0.6063, allocations: 110 kB / 0.717 GB, free: 11.42 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001475/0.6064, allocations: 20.36 kB / 0.717 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6064, allocations: 0 / 0.717 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.178e-05/0.6065, allocations: 14.28 kB / 0.717 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.6067, allocations: 6.875 kB / 0.717 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.607, allocations: 146.2 kB / 0.7172 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.6073, allocations: 0.6751 MB / 0.7178 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.608e-05/0.6074, allocations: 1.906 kB / 0.7178 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.6074, allocations: 10.83 kB / 0.7178 GB, free: 10.58 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.6074, allocations: 4 kB / 0.7178 GB, free: 10.58 MB / 0.545 GB Notification: Performance of Templates: time 0.002771/0.6102, allocations: 485.8 kB / 0.7183 GB, free: 10.51 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)