Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007616/0.007616, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001671/0.001671, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7926/0.7926, allocations: 132.2 MB / 422.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 77.09 kB / 0.5813 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.202, allocations: 80.2 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002614/0.2047, allocations: 1.484 MB / 0.6611 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1523/0.357, allocations: 132.1 MB / 0.7901 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.056e-05/0.3571, allocations: 0 / 0.7901 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 4.486e-05/0.3571, allocations: 7.922 kB / 0.7901 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 7.361e-05/0.3572, allocations: 15.86 kB / 0.7901 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.3577, allocations: 75.59 kB / 0.7902 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.3578, allocations: 55.78 kB / 0.7902 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3579, allocations: 15.98 kB / 0.7903 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 6.639e-05/0.358, allocations: 19.92 kB / 0.7903 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 5.772e-05/0.358, allocations: 31.84 kB / 0.7903 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.358, allocations: 4 kB / 0.7903 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 8.57e-05/0.3581, allocations: 12 kB / 0.7903 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.3582, allocations: 11.98 kB / 0.7903 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/0.3582, allocations: 23.88 kB / 0.7904 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.3584, allocations: 55.8 kB / 0.7904 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3584, allocations: 0 / 0.7904 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3584, allocations: 0 / 0.7904 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.3584, allocations: 0 / 0.7904 GB, free: 7.098 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005383/0.3589, allocations: 375.3 kB / 0.7908 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.359, allocations: 8.031 kB / 0.7908 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.359, allocations: 8.844 kB / 0.7908 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.3592, allocations: 176.2 kB / 0.7909 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.3592, allocations: 8.359 kB / 0.791 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.3592, allocations: 4.375 kB / 0.791 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.3594, allocations: 70.22 kB / 0.791 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3595, allocations: 192 / 0.791 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3595, allocations: 3.938 kB / 0.791 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3595, allocations: 0 / 0.791 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.3598, allocations: 71.92 kB / 0.7911 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.3601, allocations: 284.7 kB / 0.7914 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.3603, allocations: 58.53 kB / 0.7914 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.3605, allocations: 40.91 kB / 0.7915 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/0.3607, allocations: 93.17 kB / 0.7916 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.3607, allocations: 30.56 kB / 0.7916 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.3607, allocations: 3.938 kB / 0.7916 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.0005069/0.3612, allocations: 133.5 kB / 0.7917 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.3613, allocations: 51.41 kB / 0.7918 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.966e-05/0.3614, allocations: 117.8 kB / 0.7919 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.3614, allocations: 25.7 kB / 0.7919 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.3614, allocations: 96.11 kB / 0.792 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.3615, allocations: 11.81 kB / 0.792 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.3615, allocations: 17.72 kB / 0.792 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3616, allocations: 322.7 kB / 0.7923 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.3618, allocations: 35.89 kB / 0.7924 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.3619, allocations: 31.97 kB / 0.7924 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/0.3621, allocations: 80.72 kB / 0.7925 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3621, allocations: 0 / 0.7925 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002833/0.3624, allocations: 93.62 kB / 0.7926 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3624, allocations: 4 kB / 0.7926 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3625, allocations: 0 / 0.7926 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3625, allocations: 0 / 0.7926 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.3626, allocations: 23.97 kB / 0.7926 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3626, allocations: 0 / 0.7926 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.984e-05/0.3627, allocations: 11.98 kB / 0.7926 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3627, allocations: 0 / 0.7926 GB, free: 4.605 MB / 0.6231 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.638e-05/0.3628, allocations: 117.8 kB / 0.7927 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.3628, allocations: 3.906 kB / 0.7927 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003893/0.3632, allocations: 113.5 kB / 0.7928 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3632, allocations: 3.984 kB / 0.7928 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3632, allocations: 4 kB / 0.7928 GB, free: 4.34 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.3632, allocations: 0 / 0.7928 GB, free: 4.34 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.3634, allocations: 169.6 kB / 0.793 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3634, allocations: 0 / 0.793 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.725e-05/0.3635, allocations: 19.97 kB / 0.793 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3635, allocations: 4 kB / 0.793 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.3635, allocations: 0 / 0.793 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3635, allocations: 0 / 0.793 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3635, allocations: 0 / 0.793 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/0.3639, allocations: 199.3 kB / 0.7932 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.3639, allocations: 89.52 kB / 0.7933 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.3639, allocations: 0 / 0.7933 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.718e-05/0.364, allocations: 11.98 kB / 0.7933 GB, free: 3.773 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.3641, allocations: 0 / 0.7933 GB, free: 3.773 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.3641, allocations: 4 kB / 0.7933 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.7e-05/0.3642, allocations: 94.88 kB / 0.7934 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3642, allocations: 3.938 kB / 0.7934 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002278/0.3644, allocations: 23.94 kB / 0.7934 GB, free: 3.652 MB / 0.6231 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.0001633/0.3646, allocations: 107.2 kB / 0.7935 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003309/0.3649, allocations: 71.91 kB / 0.7936 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3649, allocations: 0 / 0.7936 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.3651, allocations: 39.89 kB / 0.7936 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.3654, allocations: 27.88 kB / 0.7937 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000351/0.3658, allocations: 167.5 kB / 0.7938 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.366, allocations: 0.6846 MB / 0.7945 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.827e-05/0.3661, allocations: 0 / 0.7945 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.3661, allocations: 15.44 kB / 0.7945 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of SimCode: time 2.01e-07/0.3661, allocations: 0 / 0.7945 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of Templates: time 0.003458/0.3696, allocations: 0.9888 MB / 0.7955 GB, free: 1.512 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)