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.001045/0.001045, allocations: 105.5 kB / 15.98 MB, free: 6.352 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.0009966/0.0009966, allocations: 198.8 kB / 16.91 MB, free: 6.191 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.261/1.261, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7668/0.7668, allocations: 132.2 MB / 422.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 59.91 kB / 0.5019 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3572, allocations: 80.18 MB / 0.5802 GB, free: 27.03 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002554/0.3598, allocations: 1.545 MB / 0.5817 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1337/0.4936, allocations: 130.1 MB / 0.7088 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.655e-05/0.4937, allocations: 3.938 kB / 0.7088 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.669e-05/0.4938, allocations: 0 / 0.7088 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.359e-05/0.4938, allocations: 11.92 kB / 0.7088 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000538/0.4944, allocations: 55.78 kB / 0.7088 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.4946, allocations: 51.8 kB / 0.7089 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.4947, allocations: 25.94 kB / 0.7089 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.413e-05/0.4948, allocations: 19.92 kB / 0.7089 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.188e-05/0.4949, allocations: 23.92 kB / 0.709 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.4949, allocations: 4 kB / 0.709 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.495, allocations: 23.92 kB / 0.709 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/0.4951, allocations: 7.938 kB / 0.709 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.02e-05/0.4951, allocations: 23.86 kB / 0.709 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.4953, allocations: 43.88 kB / 0.7091 GB, free: 10.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4953, allocations: 4 kB / 0.7091 GB, free: 10.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4953, allocations: 0 / 0.7091 GB, free: 10.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.4953, allocations: 0 / 0.7091 GB, free: 10.09 MB / 0.545 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.0006632/0.496, allocations: 377.7 kB / 0.7094 GB, free: 9.672 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.496, allocations: 12.03 kB / 0.7094 GB, free: 9.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.537e-05/0.4961, allocations: 4.844 kB / 0.7094 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.4963, allocations: 172.3 kB / 0.7096 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.4963, allocations: 384 / 0.7096 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.4964, allocations: 12.38 kB / 0.7096 GB, free: 9.438 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.4967, allocations: 74.2 kB / 0.7097 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4967, allocations: 192 / 0.7097 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.4967, allocations: 3.938 kB / 0.7097 GB, free: 9.355 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.4967, allocations: 0 / 0.7097 GB, free: 9.355 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.497, allocations: 71.92 kB / 0.7098 GB, free: 9.285 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004817/0.4975, allocations: 284.7 kB / 0.71 GB, free: 8.957 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.4977, allocations: 62.53 kB / 0.7101 GB, free: 8.887 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.4979, allocations: 40.92 kB / 0.7101 GB, free: 8.844 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001889/0.4981, allocations: 89.09 kB / 0.7102 GB, free: 8.738 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.4981, allocations: 30.56 kB / 0.7102 GB, free: 8.699 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.4981, allocations: 0 / 0.7102 GB, free: 8.699 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.000565/0.4987, allocations: 137.4 kB / 0.7104 GB, free: 8.559 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.4988, allocations: 55.41 kB / 0.7104 GB, free: 8.492 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.4989, allocations: 117.8 kB / 0.7105 GB, free: 8.367 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.4989, allocations: 25.7 kB / 0.7106 GB, free: 8.336 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.4989, allocations: 88.14 kB / 0.7106 GB, free: 8.246 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.499, allocations: 15.95 kB / 0.7107 GB, free: 8.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.499, allocations: 13.72 kB / 0.7107 GB, free: 8.211 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.4991, allocations: 322.8 kB / 0.711 GB, free: 7.887 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.4993, allocations: 35.95 kB / 0.711 GB, free: 7.852 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.4994, allocations: 23.97 kB / 0.711 GB, free: 7.828 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.4997, allocations: 76.72 kB / 0.7111 GB, free: 7.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.4997, allocations: 0 / 0.7111 GB, free: 7.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003152/0.5, allocations: 101.8 kB / 0.7112 GB, free: 7.645 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.5, allocations: 6.031 kB / 0.7112 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5, allocations: 3.984 kB / 0.7112 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.5001, allocations: 7.984 kB / 0.7112 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.5002, allocations: 23.97 kB / 0.7113 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.5002, allocations: 0 / 0.7113 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.703e-05/0.5003, allocations: 15.92 kB / 0.7113 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.5003, allocations: 0 / 0.7113 GB, free: 7.59 MB / 0.545 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.345e-05/0.5004, allocations: 117.8 kB / 0.7114 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.5004, allocations: 7.906 kB / 0.7114 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003586/0.5008, allocations: 113.4 kB / 0.7115 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.5008, allocations: 0 / 0.7115 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5008, allocations: 0 / 0.7115 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5008, allocations: 3.984 kB / 0.7115 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.501, allocations: 173.6 kB / 0.7117 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.501, allocations: 0 / 0.7117 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.347e-05/0.5011, allocations: 19.97 kB / 0.7117 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.5011, allocations: 0 / 0.7117 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.5011, allocations: 0 / 0.7117 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5011, allocations: 4 kB / 0.7117 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5011, allocations: 0 / 0.7117 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.5015, allocations: 195.4 kB / 0.7119 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.5015, allocations: 81.02 kB / 0.712 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.5016, allocations: 7.984 kB / 0.712 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.5017, allocations: 15.98 kB / 0.712 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.5017, allocations: 4 kB / 0.712 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.5017, allocations: 3.938 kB / 0.712 GB, free: 6.754 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.4e-05/0.5018, allocations: 94.44 kB / 0.7121 GB, free: 6.664 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5018, allocations: 0 / 0.7121 GB, free: 6.664 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002364/0.502, allocations: 16 kB / 0.7121 GB, free: 6.648 MB / 0.545 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.0001593/0.5022, allocations: 103.2 kB / 0.7122 GB, free: 6.535 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000329/0.5026, allocations: 71.92 kB / 0.7123 GB, free: 6.465 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5026, allocations: 0 / 0.7123 GB, free: 6.465 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.5027, allocations: 39.89 kB / 0.7123 GB, free: 6.426 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.5031, allocations: 19.94 kB / 0.7123 GB, free: 6.406 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.5034, allocations: 193.5 kB / 0.7125 GB, free: 6.184 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.5037, allocations: 0.6846 MB / 0.7132 GB, free: 5.473 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.5037, allocations: 11.44 kB / 0.7132 GB, free: 5.461 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5038, allocations: 4 kB / 0.7132 GB, free: 5.457 MB / 0.545 GB Notification: Performance of Templates: time 0.002297/0.5061, allocations: 0.9294 MB / 0.7141 GB, free: 4.531 MB / 0.545 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)