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.01089/0.01089, allocations: 100.8 kB / 15.73 MB, free: 5.953 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.002121/0.002122, allocations: 187 kB / 16.67 MB, free: 5.883 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.488/1.488, 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.8357/0.8357, allocations: 132.2 MB / 422.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.66 kB / 0.5813 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1801, allocations: 80.21 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.003034/0.1832, allocations: 1.27 MB / 0.6609 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1599/0.3431, allocations: 132 MB / 0.7898 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.102e-05/0.3432, allocations: 3.938 kB / 0.7898 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.436e-05/0.3433, allocations: 0 / 0.7898 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.108e-05/0.3434, allocations: 3.938 kB / 0.7899 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.3438, allocations: 59.67 kB / 0.7899 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.627e-05/0.3439, allocations: 31.84 kB / 0.7899 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.415e-05/0.344, allocations: 0 / 0.7899 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.847e-05/0.344, allocations: 11.98 kB / 0.79 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 6.065e-05/0.3441, allocations: 12 kB / 0.79 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.3441, allocations: 3.938 kB / 0.79 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 8.71e-05/0.3442, allocations: 15.92 kB / 0.79 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.3442, allocations: 4 kB / 0.79 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/0.3443, allocations: 4 kB / 0.79 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.3444, allocations: 31.84 kB / 0.79 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3444, allocations: 0 / 0.79 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3444, allocations: 0 / 0.79 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3444, allocations: 0 / 0.79 GB, free: 7.5 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004593/0.3449, allocations: 339.5 kB / 0.7903 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3449, allocations: 12.03 kB / 0.7904 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.345, allocations: 0.9375 kB / 0.7904 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.3451, allocations: 164.3 kB / 0.7905 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.1e-05/0.3452, allocations: 30.27 kB / 0.7905 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.3452, allocations: 384 / 0.7905 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.3453, allocations: 42.25 kB / 0.7906 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3454, allocations: 7.938 kB / 0.7906 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.3454, allocations: 3.938 kB / 0.7906 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.3454, allocations: 4 kB / 0.7906 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.832e-05/0.3455, allocations: 15.97 kB / 0.7906 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.3457, allocations: 153.7 kB / 0.7908 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.3458, allocations: 30.61 kB / 0.7908 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.71e-05/0.3458, allocations: 20.86 kB / 0.7908 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001907/0.346, allocations: 97.12 kB / 0.7909 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.3461, allocations: 30.56 kB / 0.7909 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.3461, allocations: 0 / 0.7909 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.0002656/0.3464, allocations: 61.55 kB / 0.791 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.3464, allocations: 55.41 kB / 0.791 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.596e-05/0.3465, allocations: 93.86 kB / 0.7911 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.3465, allocations: 29.7 kB / 0.7912 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 3.133e-05/0.3466, allocations: 88.12 kB / 0.7912 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.3466, allocations: 3.906 kB / 0.7912 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.3466, allocations: 17.72 kB / 0.7913 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3468, allocations: 310.8 kB / 0.7916 GB, free: 5.68 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.813e-05/0.3468, allocations: 7.984 kB / 0.7916 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.714e-05/0.3469, allocations: 11.94 kB / 0.7916 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.03e-05/0.347, allocations: 28.78 kB / 0.7916 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.347, allocations: 0 / 0.7916 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001313/0.3471, allocations: 53.59 kB / 0.7917 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3471, allocations: 11.94 kB / 0.7917 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3471, allocations: 0 / 0.7917 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3472, allocations: 0 / 0.7917 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.563e-05/0.3472, allocations: 7.984 kB / 0.7917 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.3473, allocations: 0 / 0.7917 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.425e-05/0.3473, allocations: 4 kB / 0.7917 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.3473, allocations: 0 / 0.7917 GB, free: 5.547 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 8.727e-05/0.3474, allocations: 110.5 kB / 0.7918 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.3474, allocations: 7.938 kB / 0.7918 GB, free: 5.422 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.3476, allocations: 61.11 kB / 0.7919 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3476, allocations: 0 / 0.7919 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3476, allocations: 0 / 0.7919 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3476, allocations: 0.5625 kB / 0.7919 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.3477, allocations: 157.6 kB / 0.792 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3478, allocations: 0 / 0.792 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.344e-05/0.3478, allocations: 8 kB / 0.792 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.3478, allocations: 11.92 kB / 0.792 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.3478, allocations: 0 / 0.792 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.3478, allocations: 0 / 0.792 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3478, allocations: 0 / 0.792 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.348, allocations: 80.98 kB / 0.7921 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.985e-05/0.3481, allocations: 85 kB / 0.7922 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.3481, allocations: 7.938 kB / 0.7922 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.236e-05/0.3481, allocations: 8 kB / 0.7922 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.3482, allocations: 4 kB / 0.7922 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.3482, allocations: 4 kB / 0.7922 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 3.316e-05/0.3482, allocations: 79.27 kB / 0.7923 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3482, allocations: 0 / 0.7923 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002014/0.3484, allocations: 12 kB / 0.7923 GB, free: 4.812 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.0001701/0.3486, allocations: 107.2 kB / 0.7924 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001476/0.3488, allocations: 19.98 kB / 0.7924 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3488, allocations: 4 kB / 0.7924 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 5.085e-05/0.3488, allocations: 15.94 kB / 0.7924 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.3491, allocations: 7.984 kB / 0.7924 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.3494, allocations: 123.6 kB / 0.7926 GB, free: 4.504 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.3497, allocations: 0.6806 MB / 0.7932 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.052e-05/0.3497, allocations: 8 kB / 0.7932 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.931e-05/0.3497, allocations: 7.438 kB / 0.7932 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of SimCode: time 3.1e-07/0.3497, allocations: 0 / 0.7932 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of Templates: time 0.002939/0.3527, allocations: 0.5184 MB / 0.7937 GB, free: 3.273 MB / 0.6231 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)