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.006079/0.006079, allocations: 102 kB / 15.73 MB, free: 6.051 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.001367/0.001367, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.402/1.402, allocations: 222.9 MB / 240.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8419/0.8419, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.73 kB / 0.5813 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1707, allocations: 80.22 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002694/0.1734, allocations: 1.264 MB / 0.6609 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5532/0.7266, allocations: 132 MB / 0.7898 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.7267, allocations: 1.188 kB / 0.7898 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.851e-05/0.7268, allocations: 0 / 0.7898 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.31e-05/0.7268, allocations: 4.906 kB / 0.7898 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004382/0.7273, allocations: 66.58 kB / 0.7899 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.908e-05/0.7274, allocations: 26.42 kB / 0.7899 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.341e-05/0.7274, allocations: 1.156 kB / 0.7899 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.019e-05/0.7275, allocations: 7.266 kB / 0.7899 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.255e-05/0.7276, allocations: 14.59 kB / 0.79 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.7276, allocations: 0 / 0.79 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.398e-05/0.7277, allocations: 14.94 kB / 0.79 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.7277, allocations: 6.312 kB / 0.79 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.7277, allocations: 3.781 kB / 0.79 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.7279, allocations: 28.03 kB / 0.79 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.7279, allocations: 4 kB / 0.79 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7279, allocations: 0 / 0.79 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.7279, allocations: 1.688 kB / 0.79 GB, free: 13.39 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.0005146/0.7284, allocations: 331.3 kB / 0.7903 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.7285, allocations: 12.58 kB / 0.7903 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.7285, allocations: 6.25 kB / 0.7903 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.7287, allocations: 164.2 kB / 0.7905 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.872e-05/0.7287, allocations: 34.25 kB / 0.7905 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.7288, allocations: 1.531 kB / 0.7905 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.7289, allocations: 41.69 kB / 0.7906 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.7289, allocations: 3.938 kB / 0.7906 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.7289, allocations: 0 / 0.7906 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.7289, allocations: 1.781 kB / 0.7906 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.224e-05/0.729, allocations: 16.22 kB / 0.7906 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.7292, allocations: 153.6 kB / 0.7907 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.346e-05/0.7293, allocations: 37.09 kB / 0.7908 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.723e-05/0.7294, allocations: 15.44 kB / 0.7908 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000152/0.7295, allocations: 88.25 kB / 0.7909 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.7296, allocations: 33.09 kB / 0.7909 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.7296, allocations: 1.281 kB / 0.7909 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.000239/0.7298, allocations: 65.86 kB / 0.791 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.7298, allocations: 55.41 kB / 0.791 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.754e-05/0.7299, allocations: 94.77 kB / 0.7911 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.7299, allocations: 27.86 kB / 0.7911 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.244e-05/0.73, allocations: 80.14 kB / 0.7912 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.7301, allocations: 12.41 kB / 0.7912 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.7301, allocations: 16.28 kB / 0.7912 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.7302, allocations: 318.2 kB / 0.7915 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.617e-05/0.7303, allocations: 10.89 kB / 0.7916 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.378e-05/0.7303, allocations: 5.094 kB / 0.7916 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.502e-05/0.7304, allocations: 29.77 kB / 0.7916 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7304, allocations: 3.938 kB / 0.7916 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001133/0.7305, allocations: 48 kB / 0.7916 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.7306, allocations: 12.75 kB / 0.7917 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.7306, allocations: 2.578 kB / 0.7917 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.7306, allocations: 1.469 kB / 0.7917 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.997e-05/0.7307, allocations: 4.812 kB / 0.7917 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.7307, allocations: 4 kB / 0.7917 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.808e-05/0.7307, allocations: 1.688 kB / 0.7917 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.7307, allocations: 7.656 kB / 0.7917 GB, free: 11.69 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 6.672e-05/0.7308, allocations: 108.2 kB / 0.7918 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.7308, allocations: 5 kB / 0.7918 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.731, allocations: 59.72 kB / 0.7918 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.731, allocations: 1.156 kB / 0.7918 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.731, allocations: 6.531 kB / 0.7918 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.731, allocations: 0 / 0.7918 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.7311, allocations: 153 kB / 0.792 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.7311, allocations: 0 / 0.792 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.101e-05/0.7312, allocations: 6.062 kB / 0.792 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.7312, allocations: 5.062 kB / 0.792 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.7312, allocations: 0 / 0.792 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.7312, allocations: 5.031 kB / 0.792 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.7312, allocations: 0 / 0.792 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.7313, allocations: 83.58 kB / 0.7921 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.369e-05/0.7314, allocations: 81.02 kB / 0.7922 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.7314, allocations: 8.016 kB / 0.7922 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.797e-05/0.7315, allocations: 3.312 kB / 0.7922 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.7315, allocations: 3.484 kB / 0.7922 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.7315, allocations: 1.156 kB / 0.7922 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.164e-05/0.7315, allocations: 77.62 kB / 0.7923 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7315, allocations: 1.156 kB / 0.7923 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001885/0.7317, allocations: 16.12 kB / 0.7923 GB, free: 11.07 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.0001478/0.7319, allocations: 109.5 kB / 0.7924 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000137/0.732, allocations: 17.55 kB / 0.7924 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7321, allocations: 0 / 0.7924 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.784e-05/0.7321, allocations: 17.22 kB / 0.7924 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.7323, allocations: 10.62 kB / 0.7924 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000259/0.7326, allocations: 136.1 kB / 0.7925 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.7328, allocations: 0.6757 MB / 0.7932 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.334e-05/0.7329, allocations: 1.875 kB / 0.7932 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.892e-05/0.7329, allocations: 14.97 kB / 0.7932 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.7329, allocations: 0 / 0.7932 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of Templates: time 0.00259/0.7355, allocations: 0.5161 MB / 0.7937 GB, free: 10.1 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)