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.001144/0.001144, allocations: 107 kB / 15.99 MB, free: 6.359 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.001167/0.001167, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.392/1.392, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8382/0.8382, allocations: 135.2 MB / 425.9 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 67.89 kB / 0.5055 GB, free: 8.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3736, allocations: 80.92 MB / 0.5846 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002063/0.3757, allocations: 1.338 MB / 0.5859 GB, free: 24.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1403/0.5161, allocations: 130.1 MB / 0.7129 GB, free: 6.902 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.355e-05/0.5161, allocations: 0 / 0.7129 GB, free: 6.902 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.374e-05/0.5162, allocations: 3.984 kB / 0.7129 GB, free: 6.898 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.58e-05/0.5163, allocations: 11.92 kB / 0.7129 GB, free: 6.887 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.5166, allocations: 47.8 kB / 0.7129 GB, free: 6.84 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.859e-05/0.5167, allocations: 19.94 kB / 0.713 GB, free: 6.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.5167, allocations: 3.984 kB / 0.713 GB, free: 6.816 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.842e-05/0.5168, allocations: 11.83 kB / 0.713 GB, free: 6.809 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.026e-05/0.5168, allocations: 8 kB / 0.713 GB, free: 6.801 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.5169, allocations: 0 / 0.713 GB, free: 6.801 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.409e-05/0.5169, allocations: 15.92 kB / 0.713 GB, free: 6.785 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.5169, allocations: 4 kB / 0.713 GB, free: 6.781 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.651e-05/0.517, allocations: 11.92 kB / 0.713 GB, free: 6.77 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.158e-05/0.5171, allocations: 25.89 kB / 0.713 GB, free: 6.746 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.5171, allocations: 0 / 0.713 GB, free: 6.746 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5171, allocations: 0 / 0.713 GB, free: 6.746 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.5171, allocations: 0 / 0.713 GB, free: 6.746 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.0004212/0.5175, allocations: 335.4 kB / 0.7134 GB, free: 6.367 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.5175, allocations: 9.109 kB / 0.7134 GB, free: 6.359 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.5176, allocations: 8.922 kB / 0.7134 GB, free: 6.352 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.5177, allocations: 160.4 kB / 0.7135 GB, free: 6.156 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.798e-05/0.5178, allocations: 34.27 kB / 0.7136 GB, free: 6.117 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-06/0.5178, allocations: 4.375 kB / 0.7136 GB, free: 6.113 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.5179, allocations: 38.23 kB / 0.7136 GB, free: 6.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.518, allocations: 3.938 kB / 0.7136 GB, free: 6.066 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.518, allocations: 7.875 kB / 0.7136 GB, free: 6.059 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.518, allocations: 4 kB / 0.7136 GB, free: 6.055 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.159e-05/0.5181, allocations: 15.98 kB / 0.7136 GB, free: 6.039 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.5183, allocations: 149.7 kB / 0.7138 GB, free: 5.844 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.223e-05/0.5184, allocations: 38.61 kB / 0.7138 GB, free: 5.797 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.971e-05/0.5184, allocations: 8.859 kB / 0.7138 GB, free: 5.785 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.5186, allocations: 89.19 kB / 0.7139 GB, free: 5.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.5186, allocations: 30.56 kB / 0.7139 GB, free: 5.641 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.5186, allocations: 0 / 0.7139 GB, free: 5.641 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.000239/0.5189, allocations: 77.45 kB / 0.714 GB, free: 5.559 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.5189, allocations: 51.41 kB / 0.7141 GB, free: 5.496 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.041e-05/0.519, allocations: 93.86 kB / 0.7141 GB, free: 5.395 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.519, allocations: 25.7 kB / 0.7142 GB, free: 5.363 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.5191, allocations: 84.14 kB / 0.7143 GB, free: 5.277 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.5191, allocations: 15.83 kB / 0.7143 GB, free: 5.262 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.5191, allocations: 9.719 kB / 0.7143 GB, free: 5.246 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.5193, allocations: 318.8 kB / 0.7146 GB, free: 4.926 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.418e-05/0.5193, allocations: 11.98 kB / 0.7146 GB, free: 4.914 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.446e-05/0.5194, allocations: 4 kB / 0.7146 GB, free: 4.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.65e-05/0.5195, allocations: 24.78 kB / 0.7146 GB, free: 4.883 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.5195, allocations: 0 / 0.7146 GB, free: 4.883 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001196/0.5196, allocations: 49.69 kB / 0.7147 GB, free: 4.828 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.5196, allocations: 7.938 kB / 0.7147 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.5196, allocations: 0 / 0.7147 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.5196, allocations: 0 / 0.7147 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.514e-05/0.5197, allocations: 15.98 kB / 0.7147 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.5197, allocations: 0 / 0.7147 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.782e-05/0.5198, allocations: 0 / 0.7147 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.5198, allocations: 0 / 0.7147 GB, free: 4.805 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.927e-05/0.5199, allocations: 113.8 kB / 0.7148 GB, free: 4.684 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.5199, allocations: 7.875 kB / 0.7148 GB, free: 4.676 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.52, allocations: 61.53 kB / 0.7149 GB, free: 4.609 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.5201, allocations: 4.047 kB / 0.7149 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5201, allocations: 7.984 kB / 0.7149 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5201, allocations: 4 kB / 0.7149 GB, free: 4.594 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.5202, allocations: 153.7 kB / 0.715 GB, free: 4.395 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.5202, allocations: 3.938 kB / 0.715 GB, free: 4.391 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.896e-05/0.5203, allocations: 4 kB / 0.715 GB, free: 4.387 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.5203, allocations: 3.938 kB / 0.715 GB, free: 4.383 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.5203, allocations: 0 / 0.715 GB, free: 4.383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.5203, allocations: 7.984 kB / 0.715 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5203, allocations: 0 / 0.715 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.5205, allocations: 77.06 kB / 0.7151 GB, free: 4.281 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.5205, allocations: 85.09 kB / 0.7152 GB, free: 4.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.5206, allocations: 3.938 kB / 0.7152 GB, free: 4.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.697e-05/0.5206, allocations: 0 / 0.7152 GB, free: 4.176 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.5206, allocations: 4 kB / 0.7152 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.5206, allocations: 0 / 0.7152 GB, free: 4.172 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.205e-05/0.5207, allocations: 83.28 kB / 0.7153 GB, free: 4.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5207, allocations: 0 / 0.7153 GB, free: 4.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001845/0.5209, allocations: 19.98 kB / 0.7153 GB, free: 4.07 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.0001538/0.521, allocations: 111.2 kB / 0.7154 GB, free: 3.953 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001407/0.5212, allocations: 19.98 kB / 0.7154 GB, free: 3.934 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5212, allocations: 0 / 0.7154 GB, free: 3.934 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.519e-05/0.5212, allocations: 11.94 kB / 0.7154 GB, free: 3.922 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.5215, allocations: 11.98 kB / 0.7155 GB, free: 3.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.5218, allocations: 157.5 kB / 0.7156 GB, free: 3.723 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.5221, allocations: 0.6767 MB / 0.7163 GB, free: 3.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.5221, allocations: 11.42 kB / 0.7163 GB, free: 3.008 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.5221, allocations: 0 / 0.7163 GB, free: 3.008 MB / 0.545 GB Notification: Performance of Templates: time 0.001997/0.5241, allocations: 0.5692 MB / 0.7168 GB, free: 2.441 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)