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.001343/0.001343, allocations: 108 kB / 15.61 MB, free: 152 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.001327/0.001327, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9755/0.9755, allocations: 135.1 MB / 425.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002414/0.002415, allocations: 62.92 kB / 0.5053 GB, free: 5.324 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2574, allocations: 80.92 MB / 0.5844 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.004346/0.2618, allocations: 1.268 MB / 0.5856 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4099/0.6718, allocations: 132 MB / 0.7145 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.762e-05/0.6719, allocations: 0 / 0.7145 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.6719, allocations: 0.7969 kB / 0.7145 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.539e-05/0.672, allocations: 14.16 kB / 0.7145 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004125/0.6724, allocations: 53.78 kB / 0.7146 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.627e-05/0.6725, allocations: 29.39 kB / 0.7146 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.148e-05/0.6726, allocations: 3.484 kB / 0.7146 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.198e-05/0.6727, allocations: 6.766 kB / 0.7146 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.772e-05/0.6727, allocations: 9.703 kB / 0.7146 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.6727, allocations: 5.188 kB / 0.7146 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.118e-05/0.6728, allocations: 8.609 kB / 0.7147 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.252e-05/0.6729, allocations: 6.531 kB / 0.7147 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.6729, allocations: 9.344 kB / 0.7147 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.673, allocations: 31.73 kB / 0.7147 GB, free: 12.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6731, allocations: 1.312 kB / 0.7147 GB, free: 12.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.695e-06/0.6731, allocations: 0 / 0.7147 GB, free: 12.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.6731, allocations: 0 / 0.7147 GB, free: 12.25 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.000455/0.6735, allocations: 332.8 kB / 0.715 GB, free: 11.9 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.6736, allocations: 9.344 kB / 0.715 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.6736, allocations: 5.891 kB / 0.715 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.6738, allocations: 166.3 kB / 0.7152 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.891e-05/0.6738, allocations: 30.05 kB / 0.7152 GB, free: 11.67 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/0.6739, allocations: 5.844 kB / 0.7152 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.674, allocations: 40.03 kB / 0.7153 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.674, allocations: 3.938 kB / 0.7153 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.674, allocations: 1.5 kB / 0.7153 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.674, allocations: 0 / 0.7153 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.94e-05/0.6741, allocations: 11.73 kB / 0.7153 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.6743, allocations: 152.4 kB / 0.7154 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.6744, allocations: 37.66 kB / 0.7155 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.826e-05/0.6745, allocations: 17 kB / 0.7155 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/0.6747, allocations: 92.91 kB / 0.7156 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.6747, allocations: 31.22 kB / 0.7156 GB, free: 11.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 2.375e-06/0.6747, allocations: 5.078 kB / 0.7156 GB, free: 11.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002629/0.675, allocations: 66.31 kB / 0.7157 GB, free: 11.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.6751, allocations: 55.34 kB / 0.7157 GB, free: 11.13 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.29e-05/0.6751, allocations: 100.1 kB / 0.7158 GB, free: 11.03 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.6752, allocations: 27.14 kB / 0.7158 GB, free: 11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.127e-05/0.6752, allocations: 83.52 kB / 0.7159 GB, free: 10.92 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.6752, allocations: 9.984 kB / 0.7159 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.6753, allocations: 17.28 kB / 0.7159 GB, free: 10.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.6754, allocations: 313.1 kB / 0.7162 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.976e-05/0.6754, allocations: 10.62 kB / 0.7163 GB, free: 10.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.099e-05/0.6755, allocations: 9.734 kB / 0.7163 GB, free: 10.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.188e-05/0.6756, allocations: 22.56 kB / 0.7163 GB, free: 10.56 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6756, allocations: 0.5625 kB / 0.7163 GB, free: 10.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001335/0.6757, allocations: 52.38 kB / 0.7163 GB, free: 10.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.6758, allocations: 9.672 kB / 0.7163 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.6758, allocations: 0 / 0.7163 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.6758, allocations: 2.672 kB / 0.7163 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.611e-05/0.6759, allocations: 9.359 kB / 0.7164 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.6759, allocations: 0 / 0.7164 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.305e-05/0.6759, allocations: 2.641 kB / 0.7164 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.676, allocations: 1.406 kB / 0.7164 GB, free: 10.51 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.908e-05/0.676, allocations: 108 kB / 0.7165 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.6761, allocations: 6.859 kB / 0.7165 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.6763, allocations: 57.66 kB / 0.7165 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.6763, allocations: 5.562 kB / 0.7165 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6763, allocations: 0 / 0.7165 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.6763, allocations: 0.5156 kB / 0.7165 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.6764, allocations: 161.7 kB / 0.7167 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.6764, allocations: 3.125 kB / 0.7167 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.6765, allocations: 6.469 kB / 0.7167 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.6765, allocations: 3.938 kB / 0.7167 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.6765, allocations: 1.531 kB / 0.7167 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.6765, allocations: 0.6562 kB / 0.7167 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.6765, allocations: 0 / 0.7167 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.6767, allocations: 79.05 kB / 0.7168 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.6768, allocations: 80.86 kB / 0.7169 GB, free: 9.977 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.6768, allocations: 4.594 kB / 0.7169 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.037e-05/0.6768, allocations: 5.875 kB / 0.7169 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.6769, allocations: 4.094 kB / 0.7169 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.6769, allocations: 0 / 0.7169 GB, free: 9.969 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.433e-05/0.6769, allocations: 83.66 kB / 0.7169 GB, free: 9.891 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6769, allocations: 5.312 kB / 0.717 GB, free: 9.887 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002036/0.6771, allocations: 13.16 kB / 0.717 GB, free: 9.883 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.0001653/0.6773, allocations: 114.7 kB / 0.7171 GB, free: 9.789 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001555/0.6775, allocations: 21.31 kB / 0.7171 GB, free: 9.785 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6775, allocations: 0 / 0.7171 GB, free: 9.785 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.457e-05/0.6775, allocations: 14.02 kB / 0.7171 GB, free: 9.781 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.6778, allocations: 5.562 kB / 0.7171 GB, free: 9.781 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/0.6781, allocations: 133.4 kB / 0.7172 GB, free: 9.668 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.6784, allocations: 0.6767 MB / 0.7179 GB, free: 8.973 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.735e-05/0.6784, allocations: 5.719 kB / 0.7179 GB, free: 8.969 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.6784, allocations: 10.38 kB / 0.7179 GB, free: 8.961 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.6785, allocations: 1.312 kB / 0.7179 GB, free: 8.961 MB / 0.545 GB Notification: Performance of Templates: time 0.00298/0.6814, allocations: 0.5127 MB / 0.7184 GB, free: 8.898 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)