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.001476/0.001476, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.001591/0.001591, allocations: 187 kB / 17.34 MB, free: 5.766 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.332/1.332, allocations: 222.9 MB / 241 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.7947/0.7947, allocations: 132.2 MB / 423.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 59.66 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1391, allocations: 80.21 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002687/0.1418, allocations: 1.491 MB / 0.6618 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5024/0.6443, allocations: 132.1 MB / 0.7907 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-05/0.6444, allocations: 0 / 0.7907 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.471e-05/0.6444, allocations: 7.562 kB / 0.7907 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.584e-05/0.6445, allocations: 14.92 kB / 0.7908 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.6449, allocations: 70.98 kB / 0.7908 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.641e-05/0.645, allocations: 51.05 kB / 0.7909 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.6451, allocations: 12.39 kB / 0.7909 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.73e-05/0.6451, allocations: 22.75 kB / 0.7909 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.074e-05/0.6452, allocations: 30.53 kB / 0.7909 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.6452, allocations: 8.562 kB / 0.7909 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.011e-05/0.6453, allocations: 18 kB / 0.791 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.6453, allocations: 9.141 kB / 0.791 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.6454, allocations: 23.67 kB / 0.791 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.6455, allocations: 55.56 kB / 0.791 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.6455, allocations: 3.938 kB / 0.791 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6455, allocations: 0 / 0.791 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.6455, allocations: 0 / 0.791 GB, free: 13.86 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.0005786/0.6461, allocations: 375.4 kB / 0.7914 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.6462, allocations: 10.19 kB / 0.7914 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.6462, allocations: 7.875 kB / 0.7914 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.6463, allocations: 169.3 kB / 0.7916 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.6463, allocations: 1.875 kB / 0.7916 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.6464, allocations: 5.5 kB / 0.7916 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.6466, allocations: 78.8 kB / 0.7917 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.6466, allocations: 192 / 0.7917 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.6466, allocations: 7.938 kB / 0.7917 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.6467, allocations: 1.125 kB / 0.7917 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.647, allocations: 71.42 kB / 0.7917 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.6473, allocations: 283.6 kB / 0.792 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.6475, allocations: 61.45 kB / 0.7921 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.6477, allocations: 38.19 kB / 0.7921 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.6479, allocations: 90.48 kB / 0.7922 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.6479, allocations: 36.03 kB / 0.7922 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.6479, allocations: 4 kB / 0.7922 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0005361/0.6485, allocations: 126.6 kB / 0.7924 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.6485, allocations: 52.41 kB / 0.7924 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.6486, allocations: 122.2 kB / 0.7925 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.6487, allocations: 26.77 kB / 0.7925 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.6487, allocations: 96.11 kB / 0.7926 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.6487, allocations: 12.03 kB / 0.7927 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.6488, allocations: 19.28 kB / 0.7927 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.6489, allocations: 321.2 kB / 0.793 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.649, allocations: 30.72 kB / 0.793 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.6492, allocations: 33.7 kB / 0.793 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.6495, allocations: 64.61 kB / 0.7931 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.6495, allocations: 0 / 0.7931 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003157/0.6498, allocations: 108.4 kB / 0.7932 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.6498, allocations: 10.38 kB / 0.7932 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.6498, allocations: 0 / 0.7932 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.6499, allocations: 0 / 0.7932 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.65, allocations: 16.7 kB / 0.7932 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.65, allocations: 2.531 kB / 0.7932 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.031e-05/0.6501, allocations: 12.14 kB / 0.7932 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.6501, allocations: 1.375 kB / 0.7932 GB, free: 12.08 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.826e-05/0.6502, allocations: 122.9 kB / 0.7934 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.6502, allocations: 10.81 kB / 0.7934 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003743/0.6506, allocations: 108 kB / 0.7935 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.6506, allocations: 0 / 0.7935 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6506, allocations: 1.312 kB / 0.7935 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.6506, allocations: 384 / 0.7935 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.6508, allocations: 175.8 kB / 0.7936 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6508, allocations: 4 kB / 0.7936 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.801e-05/0.6509, allocations: 18.67 kB / 0.7937 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.6509, allocations: 4.094 kB / 0.7937 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.6509, allocations: 3.984 kB / 0.7937 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6509, allocations: 0 / 0.7937 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.6509, allocations: 1 kB / 0.7937 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.6513, allocations: 199.6 kB / 0.7939 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.6514, allocations: 80.22 kB / 0.7939 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.6514, allocations: 1.094 kB / 0.7939 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.6515, allocations: 11.22 kB / 0.794 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.6516, allocations: 8.297 kB / 0.794 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.6516, allocations: 1.312 kB / 0.794 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.842e-05/0.6516, allocations: 97.34 kB / 0.7941 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6516, allocations: 4 kB / 0.7941 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002757/0.6519, allocations: 13.81 kB / 0.7941 GB, free: 11.38 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.0001477/0.6521, allocations: 105.8 kB / 0.7942 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003516/0.6524, allocations: 66.39 kB / 0.7942 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.6524, allocations: 3.938 kB / 0.7942 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.6526, allocations: 39.27 kB / 0.7943 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.653, allocations: 14.88 kB / 0.7943 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00037/0.6533, allocations: 188.6 kB / 0.7945 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.6536, allocations: 0.686 MB / 0.7951 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.6536, allocations: 13.5 kB / 0.7952 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.6537, allocations: 0 / 0.7952 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of Templates: time 0.002329/0.656, allocations: 0.9343 MB / 0.7961 GB, free: 10.36 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)