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.001188/0.001188, allocations: 111.8 kB / 16.28 MB, free: 6.016 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.001235/0.001235, allocations: 188.2 kB / 17.2 MB, free: 5.625 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.423/1.423, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8497/0.8497, allocations: 135.2 MB / 426.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0024/0.0024, allocations: 71.88 kB / 0.506 GB, free: 8.332 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3617, allocations: 80.91 MB / 0.5851 GB, free: 25.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002167/0.3639, allocations: 1.279 MB / 0.5863 GB, free: 24.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1461/0.51, allocations: 132 MB / 0.7152 GB, free: 4.766 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/0.5101, allocations: 0 / 0.7152 GB, free: 4.766 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.317e-05/0.5102, allocations: 0 / 0.7152 GB, free: 4.766 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.063e-05/0.5102, allocations: 3.938 kB / 0.7152 GB, free: 4.762 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003524/0.5106, allocations: 55.72 kB / 0.7153 GB, free: 4.707 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.043e-05/0.5107, allocations: 23.86 kB / 0.7153 GB, free: 4.684 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.5107, allocations: 4 kB / 0.7153 GB, free: 4.68 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.23e-05/0.5107, allocations: 11.83 kB / 0.7153 GB, free: 4.672 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.2e-05/0.5108, allocations: 11.98 kB / 0.7153 GB, free: 4.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.5108, allocations: 0 / 0.7153 GB, free: 4.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.347e-05/0.5109, allocations: 15.98 kB / 0.7154 GB, free: 4.645 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.5109, allocations: 0 / 0.7154 GB, free: 4.645 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.511, allocations: 7.938 kB / 0.7154 GB, free: 4.637 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.5111, allocations: 29.88 kB / 0.7154 GB, free: 4.609 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.5111, allocations: 0 / 0.7154 GB, free: 4.609 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5111, allocations: 4 kB / 0.7154 GB, free: 4.605 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.5111, allocations: 0 / 0.7154 GB, free: 4.605 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.0004328/0.5115, allocations: 339.4 kB / 0.7157 GB, free: 4.223 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.5116, allocations: 9.109 kB / 0.7157 GB, free: 4.215 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.5116, allocations: 0.9375 kB / 0.7157 GB, free: 4.215 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.5118, allocations: 168.4 kB / 0.7159 GB, free: 4.012 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.191e-05/0.5118, allocations: 30.2 kB / 0.7159 GB, free: 3.977 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.5118, allocations: 8.375 kB / 0.7159 GB, free: 3.969 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.512, allocations: 34.25 kB / 0.716 GB, free: 3.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.512, allocations: 3.938 kB / 0.716 GB, free: 3.926 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-06/0.512, allocations: 0 / 0.716 GB, free: 3.926 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.512, allocations: 4 kB / 0.716 GB, free: 3.922 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.003e-05/0.5121, allocations: 15.98 kB / 0.716 GB, free: 3.906 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.5123, allocations: 153.7 kB / 0.7161 GB, free: 3.707 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.5124, allocations: 38.52 kB / 0.7162 GB, free: 3.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.092e-05/0.5125, allocations: 12.94 kB / 0.7162 GB, free: 3.645 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.5126, allocations: 97.08 kB / 0.7163 GB, free: 3.531 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.5127, allocations: 30.56 kB / 0.7163 GB, free: 3.492 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.5127, allocations: 0 / 0.7163 GB, free: 3.492 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002408/0.5129, allocations: 69.52 kB / 0.7164 GB, free: 3.418 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.513, allocations: 51.41 kB / 0.7164 GB, free: 3.355 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.045e-05/0.513, allocations: 93.86 kB / 0.7165 GB, free: 3.254 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.5131, allocations: 25.7 kB / 0.7165 GB, free: 3.223 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.5131, allocations: 88.08 kB / 0.7166 GB, free: 3.133 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.5131, allocations: 15.83 kB / 0.7166 GB, free: 3.117 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.5132, allocations: 13.72 kB / 0.7166 GB, free: 3.098 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5133, allocations: 318.7 kB / 0.7169 GB, free: 2.777 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.52e-05/0.5134, allocations: 8 kB / 0.717 GB, free: 2.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.885e-05/0.5134, allocations: 11.98 kB / 0.717 GB, free: 2.758 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.515e-05/0.5135, allocations: 20.84 kB / 0.717 GB, free: 2.734 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.5135, allocations: 0 / 0.717 GB, free: 2.734 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00013/0.5137, allocations: 53.69 kB / 0.717 GB, free: 2.676 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.5137, allocations: 10.28 kB / 0.717 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.5137, allocations: 0 / 0.717 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.5137, allocations: 0 / 0.717 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.521e-05/0.5138, allocations: 7.984 kB / 0.7171 GB, free: 2.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.5138, allocations: 7.938 kB / 0.7171 GB, free: 2.652 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.846e-05/0.5138, allocations: 0 / 0.7171 GB, free: 2.652 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.5138, allocations: 4 kB / 0.7171 GB, free: 2.648 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 8.429e-05/0.5139, allocations: 117.8 kB / 0.7172 GB, free: 2.523 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.5139, allocations: 3.938 kB / 0.7172 GB, free: 2.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.5141, allocations: 57.08 kB / 0.7172 GB, free: 2.457 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.5141, allocations: 0 / 0.7172 GB, free: 2.457 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.5141, allocations: 4 kB / 0.7172 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.5141, allocations: 0 / 0.7172 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.5143, allocations: 153.7 kB / 0.7174 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.5143, allocations: 0 / 0.7174 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.102e-05/0.5143, allocations: 4 kB / 0.7174 GB, free: 2.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.5143, allocations: 7.938 kB / 0.7174 GB, free: 2.242 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.5144, allocations: 0 / 0.7174 GB, free: 2.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5144, allocations: 3.938 kB / 0.7174 GB, free: 2.238 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.5144, allocations: 4 kB / 0.7174 GB, free: 2.234 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.5145, allocations: 73.67 kB / 0.7175 GB, free: 2.145 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.668e-05/0.5146, allocations: 81.11 kB / 0.7176 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.5146, allocations: 7.922 kB / 0.7176 GB, free: 2.039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.967e-05/0.5147, allocations: 4.047 kB / 0.7176 GB, free: 2.035 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.5147, allocations: 7.984 kB / 0.7176 GB, free: 2.027 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.5147, allocations: 0 / 0.7176 GB, free: 2.027 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.543e-05/0.5148, allocations: 75.28 kB / 0.7176 GB, free: 1.953 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5148, allocations: 4 kB / 0.7176 GB, free: 1.949 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00019/0.515, allocations: 16 kB / 0.7177 GB, free: 1.934 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.0001875/0.5152, allocations: 111.2 kB / 0.7178 GB, free: 1.816 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001677/0.5154, allocations: 31.91 kB / 0.7178 GB, free: 1.785 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5154, allocations: 4 kB / 0.7178 GB, free: 1.781 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.138e-05/0.5154, allocations: 8 kB / 0.7178 GB, free: 1.773 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.5157, allocations: 7.922 kB / 0.7178 GB, free: 1.766 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/0.5161, allocations: 153.4 kB / 0.718 GB, free: 1.582 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.5165, allocations: 0.6806 MB / 0.7186 GB, free: 0.875 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.5165, allocations: 11.44 kB / 0.7186 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.5165, allocations: 0 / 0.7186 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of Templates: time 0.002243/0.5187, allocations: 0.5716 MB / 0.7192 GB, free: 300 kB / 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)