Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.007773/0.007773, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.00177/0.00177, allocations: 192 kB / 16.67 MB, free: 5.969 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.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7985/0.7985, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 62.19 kB / 0.5813 GB, free: 23.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1695, allocations: 80.21 MB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002189/0.1718, allocations: 1.259 MB / 0.6609 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6086/0.7804, allocations: 132 MB / 0.7898 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.923e-05/0.7805, allocations: 1.203 kB / 0.7898 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.131e-05/0.7805, allocations: 0 / 0.7898 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.031e-05/0.7806, allocations: 5.219 kB / 0.7898 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.781, allocations: 57.78 kB / 0.7899 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.955e-05/0.7811, allocations: 23.45 kB / 0.7899 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.238e-05/0.7812, allocations: 11.16 kB / 0.7899 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.101e-05/0.7812, allocations: 9.75 kB / 0.7899 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.159e-05/0.7813, allocations: 9.328 kB / 0.79 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.7813, allocations: 1.469 kB / 0.79 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.479e-05/0.7814, allocations: 10.06 kB / 0.79 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.7814, allocations: 4.812 kB / 0.79 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.7814, allocations: 8.156 kB / 0.79 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.7816, allocations: 33.36 kB / 0.79 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.7816, allocations: 1.094 kB / 0.79 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7816, allocations: 0 / 0.79 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.7816, allocations: 0 / 0.79 GB, free: 13.42 MB / 0.5919 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.0004124/0.782, allocations: 338.5 kB / 0.7903 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.7821, allocations: 9.812 kB / 0.7903 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.831e-05/0.7821, allocations: 5.078 kB / 0.7903 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.7823, allocations: 166 kB / 0.7905 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.83e-05/0.7824, allocations: 30.89 kB / 0.7905 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.7824, allocations: 5.562 kB / 0.7905 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.7825, allocations: 33.64 kB / 0.7906 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.7825, allocations: 9.094 kB / 0.7906 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.7826, allocations: 0 / 0.7906 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.7826, allocations: 1.688 kB / 0.7906 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.356e-05/0.7827, allocations: 14.55 kB / 0.7906 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.7828, allocations: 152.7 kB / 0.7907 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.703e-05/0.7829, allocations: 35.66 kB / 0.7908 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.931e-05/0.783, allocations: 14.94 kB / 0.7908 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/0.7832, allocations: 92.92 kB / 0.7909 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.7832, allocations: 30.56 kB / 0.7909 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.7832, allocations: 1.312 kB / 0.7909 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0002587/0.7835, allocations: 60.58 kB / 0.791 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.7835, allocations: 58.22 kB / 0.791 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.729e-05/0.7836, allocations: 101.1 kB / 0.7911 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.7836, allocations: 29.7 kB / 0.7911 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.7837, allocations: 81.08 kB / 0.7912 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.7837, allocations: 13 kB / 0.7912 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.7838, allocations: 12.84 kB / 0.7913 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.7839, allocations: 318.4 kB / 0.7916 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.38e-05/0.7839, allocations: 5.125 kB / 0.7916 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.438e-05/0.784, allocations: 7.078 kB / 0.7916 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.292e-05/0.784, allocations: 26.42 kB / 0.7916 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.7841, allocations: 1.531 kB / 0.7916 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001185/0.7842, allocations: 55.14 kB / 0.7916 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.7842, allocations: 9.281 kB / 0.7917 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.7842, allocations: 0 / 0.7917 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.7842, allocations: 5 kB / 0.7917 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.729e-05/0.7843, allocations: 10.88 kB / 0.7917 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.7843, allocations: 0 / 0.7917 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.1e-05/0.7843, allocations: 6.422 kB / 0.7917 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.7844, allocations: 4 kB / 0.7917 GB, free: 11.71 MB / 0.5919 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.187e-05/0.7844, allocations: 109.9 kB / 0.7918 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.032e-05/0.7845, allocations: 6.562 kB / 0.7918 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.7846, allocations: 56.52 kB / 0.7918 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.7846, allocations: 0 / 0.7918 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.7846, allocations: 5.312 kB / 0.7918 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.7847, allocations: 0 / 0.7918 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.7848, allocations: 157.1 kB / 0.792 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.7848, allocations: 4 kB / 0.792 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.7848, allocations: 11.67 kB / 0.792 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.7849, allocations: 3.938 kB / 0.792 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.7849, allocations: 1.188 kB / 0.792 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7849, allocations: 0 / 0.792 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.7849, allocations: 0 / 0.792 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.785, allocations: 75.38 kB / 0.7921 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.083e-05/0.7851, allocations: 82.92 kB / 0.7922 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.7851, allocations: 5.953 kB / 0.7922 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.672e-05/0.7852, allocations: 1.125 kB / 0.7922 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.7852, allocations: 7.688 kB / 0.7922 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.7852, allocations: 5.062 kB / 0.7922 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.41e-05/0.7853, allocations: 77.91 kB / 0.7923 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7853, allocations: 0 / 0.7923 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001998/0.7855, allocations: 8.344 kB / 0.7923 GB, free: 11.11 MB / 0.5919 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.000167/0.7857, allocations: 118.1 kB / 0.7924 GB, free: 11 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.7858, allocations: 21.14 kB / 0.7924 GB, free: 11 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.7858, allocations: 0 / 0.7924 GB, free: 11 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.682e-05/0.7859, allocations: 12.7 kB / 0.7924 GB, free: 11 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.7861, allocations: 7.391 kB / 0.7924 GB, free: 11 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/0.7864, allocations: 130.5 kB / 0.7925 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.7867, allocations: 0.6788 MB / 0.7932 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.367e-05/0.7867, allocations: 2.406 kB / 0.7932 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.005e-05/0.7868, allocations: 12.56 kB / 0.7932 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.7868, allocations: 0 / 0.7932 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of Templates: time 0.00306/0.7898, allocations: 0.5206 MB / 0.7937 GB, free: 10.12 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)