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.001057/0.001057, allocations: 105 kB / 16.41 MB, free: 6.465 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.001084/0.001084, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7838/0.7838, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 67.67 kB / 0.582 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1411, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002645/0.1438, allocations: 1.484 MB / 0.6618 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5029/0.6467, allocations: 132.1 MB / 0.7907 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.776e-05/0.6468, allocations: 1.344 kB / 0.7907 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.92e-05/0.6469, allocations: 6.281 kB / 0.7907 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.837e-05/0.647, allocations: 9.156 kB / 0.7908 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003728/0.6473, allocations: 74.92 kB / 0.7908 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.059e-05/0.6474, allocations: 55.39 kB / 0.7909 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 9.621e-05/0.6475, allocations: 14.22 kB / 0.7909 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.316e-05/0.6476, allocations: 25.33 kB / 0.7909 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.229e-05/0.6477, allocations: 24.61 kB / 0.7909 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.6477, allocations: 5.125 kB / 0.7909 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 7.724e-05/0.6478, allocations: 15.53 kB / 0.791 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.6478, allocations: 11.73 kB / 0.791 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.377e-05/0.6478, allocations: 23.5 kB / 0.791 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.6479, allocations: 54.09 kB / 0.791 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.648, allocations: 5 kB / 0.7911 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.142e-06/0.648, allocations: 0 / 0.7911 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.648, allocations: 5.562 kB / 0.7911 GB, free: 13.34 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005288/0.6485, allocations: 372 kB / 0.7914 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.6486, allocations: 10.03 kB / 0.7914 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.6486, allocations: 7.531 kB / 0.7914 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.6487, allocations: 172.6 kB / 0.7916 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.6488, allocations: 1.625 kB / 0.7916 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.6488, allocations: 6.938 kB / 0.7916 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.649, allocations: 79.7 kB / 0.7917 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.6491, allocations: 1.5 kB / 0.7917 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.6491, allocations: 3.938 kB / 0.7917 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.6491, allocations: 1.75 kB / 0.7917 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/0.6494, allocations: 66.95 kB / 0.7917 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.6497, allocations: 295.6 kB / 0.792 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.6499, allocations: 55.91 kB / 0.7921 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.6501, allocations: 35.89 kB / 0.7921 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.6503, allocations: 92.27 kB / 0.7922 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.6503, allocations: 35.88 kB / 0.7922 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.6503, allocations: 1.219 kB / 0.7922 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.000528/0.6508, allocations: 129.7 kB / 0.7924 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.6509, allocations: 52.56 kB / 0.7924 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.33e-05/0.651, allocations: 118.9 kB / 0.7925 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.651, allocations: 27.08 kB / 0.7926 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.6511, allocations: 92.27 kB / 0.7926 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.6511, allocations: 10.98 kB / 0.7927 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.6511, allocations: 16.88 kB / 0.7927 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.6512, allocations: 318.4 kB / 0.793 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.6514, allocations: 41.58 kB / 0.793 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.6515, allocations: 35.72 kB / 0.793 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.6518, allocations: 69 kB / 0.7931 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6518, allocations: 0 / 0.7931 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003023/0.6521, allocations: 107.8 kB / 0.7932 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.6521, allocations: 6.938 kB / 0.7932 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.6521, allocations: 0 / 0.7932 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.6521, allocations: 0 / 0.7932 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.6523, allocations: 15.31 kB / 0.7932 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.6523, allocations: 0 / 0.7932 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.523e-05/0.6524, allocations: 20.86 kB / 0.7933 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.6524, allocations: 0 / 0.7933 GB, free: 11.56 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.561e-05/0.6525, allocations: 117.4 kB / 0.7934 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.6525, allocations: 10.59 kB / 0.7934 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003482/0.6528, allocations: 108.7 kB / 0.7935 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.6529, allocations: 5.031 kB / 0.7935 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6529, allocations: 0 / 0.7935 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.6529, allocations: 1.094 kB / 0.7935 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.653, allocations: 172.3 kB / 0.7937 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.6531, allocations: 0 / 0.7937 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.987e-05/0.6531, allocations: 18.53 kB / 0.7937 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6532, allocations: 0 / 0.7937 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.6532, allocations: 1.125 kB / 0.7937 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6532, allocations: 0 / 0.7937 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6532, allocations: 1.156 kB / 0.7937 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.6535, allocations: 206.1 kB / 0.7939 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.6536, allocations: 78.3 kB / 0.7939 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.6536, allocations: 2.844 kB / 0.7939 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.6537, allocations: 11.77 kB / 0.794 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.6538, allocations: 11.59 kB / 0.794 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.6538, allocations: 1.062 kB / 0.794 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.78e-05/0.6538, allocations: 90.11 kB / 0.7941 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6538, allocations: 0 / 0.7941 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002259/0.6541, allocations: 11.91 kB / 0.7941 GB, free: 10.87 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.0001393/0.6542, allocations: 107.5 kB / 0.7942 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000318/0.6545, allocations: 74.3 kB / 0.7942 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6545, allocations: 0 / 0.7942 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.6547, allocations: 37.11 kB / 0.7943 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.655, allocations: 19.83 kB / 0.7943 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.6554, allocations: 191.3 kB / 0.7945 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.6556, allocations: 0.6845 MB / 0.7951 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.239e-05/0.6556, allocations: 10.41 kB / 0.7952 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of SimCode: time 2e-07/0.6556, allocations: 0 / 0.7952 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of Templates: time 0.002279/0.6579, allocations: 0.9307 MB / 0.7961 GB, free: 9.844 MB / 0.5919 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)