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.00114/0.00114, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001574/0.001573, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7398/0.7398, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001404, allocations: 71.14 kB / 0.5018 GB, free: 3.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4208, allocations: 80.2 MB / 0.5801 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002556/0.4234, allocations: 1.486 MB / 0.5815 GB, free: 3.492 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1615/0.5849, allocations: 132.1 MB / 0.7105 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.645e-05/0.585, allocations: 0 / 0.7105 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.212e-05/0.5851, allocations: 7.875 kB / 0.7105 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.13e-05/0.5852, allocations: 15.88 kB / 0.7105 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.5857, allocations: 63.66 kB / 0.7106 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.5858, allocations: 51.84 kB / 0.7107 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.5859, allocations: 17.95 kB / 0.7107 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.527e-05/0.586, allocations: 19.92 kB / 0.7107 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.237e-05/0.5861, allocations: 27.91 kB / 0.7107 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.5861, allocations: 4 kB / 0.7107 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.5862, allocations: 23.94 kB / 0.7107 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.5862, allocations: 11.92 kB / 0.7108 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.5863, allocations: 19.88 kB / 0.7108 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.5864, allocations: 59.8 kB / 0.7108 GB, free: 11.19 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.5864, allocations: 0 / 0.7108 GB, free: 11.19 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5865, allocations: 0 / 0.7108 GB, free: 11.19 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.5865, allocations: 0 / 0.7108 GB, free: 11.19 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.0006002/0.5871, allocations: 375.3 kB / 0.7112 GB, free: 10.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.5871, allocations: 12.03 kB / 0.7112 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.5872, allocations: 8.844 kB / 0.7112 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.5873, allocations: 168.3 kB / 0.7114 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.5874, allocations: 384 / 0.7114 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.5874, allocations: 8.375 kB / 0.7114 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.5877, allocations: 78.14 kB / 0.7115 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.5878, allocations: 192 / 0.7115 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.5878, allocations: 3.938 kB / 0.7115 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.5878, allocations: 4 kB / 0.7115 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003037/0.5881, allocations: 63.92 kB / 0.7115 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.5885, allocations: 292.7 kB / 0.7118 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.5887, allocations: 62.58 kB / 0.7119 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.5889, allocations: 36.81 kB / 0.7119 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001798/0.5891, allocations: 93.09 kB / 0.712 GB, free: 9.832 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.5891, allocations: 30.56 kB / 0.712 GB, free: 9.793 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.5891, allocations: 4 kB / 0.712 GB, free: 9.789 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005778/0.5897, allocations: 129.5 kB / 0.7121 GB, free: 9.656 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.5897, allocations: 55.34 kB / 0.7122 GB, free: 9.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.5898, allocations: 117.8 kB / 0.7123 GB, free: 9.465 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.5898, allocations: 29.7 kB / 0.7123 GB, free: 9.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.5899, allocations: 88.14 kB / 0.7124 GB, free: 9.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.5899, allocations: 11.89 kB / 0.7124 GB, free: 9.328 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.59, allocations: 13.72 kB / 0.7124 GB, free: 9.309 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.5901, allocations: 318.8 kB / 0.7127 GB, free: 8.988 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.5902, allocations: 35.89 kB / 0.7128 GB, free: 8.953 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.5904, allocations: 31.97 kB / 0.7128 GB, free: 8.922 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.5906, allocations: 73.06 kB / 0.7129 GB, free: 8.848 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5906, allocations: 0 / 0.7129 GB, free: 8.848 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003254/0.591, allocations: 109.5 kB / 0.713 GB, free: 8.734 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.591, allocations: 4 kB / 0.713 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.591, allocations: 0 / 0.713 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.591, allocations: 0 / 0.713 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.5912, allocations: 19.97 kB / 0.713 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.5912, allocations: 0 / 0.713 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.017e-05/0.5912, allocations: 15.92 kB / 0.713 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.5913, allocations: 0 / 0.713 GB, free: 8.695 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 7.411e-05/0.5913, allocations: 121.8 kB / 0.7131 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.5914, allocations: 3.906 kB / 0.7131 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003637/0.5917, allocations: 109.5 kB / 0.7132 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5918, allocations: 0 / 0.7132 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.279e-06/0.5918, allocations: 4 kB / 0.7133 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.5918, allocations: 0 / 0.7133 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.592, allocations: 177.5 kB / 0.7134 GB, free: 8.219 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.592, allocations: 7.938 kB / 0.7134 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.413e-05/0.5921, allocations: 19.97 kB / 0.7134 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.5921, allocations: 0 / 0.7134 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.5921, allocations: 0 / 0.7134 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5921, allocations: 0 / 0.7134 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5921, allocations: 0 / 0.7134 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.5925, allocations: 195.4 kB / 0.7136 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.5925, allocations: 81.02 kB / 0.7137 GB, free: 7.887 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.5925, allocations: 7.984 kB / 0.7137 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.5926, allocations: 11.98 kB / 0.7137 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.5927, allocations: 0 / 0.7137 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.5927, allocations: 4 kB / 0.7137 GB, free: 7.863 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.918e-05/0.5928, allocations: 91.27 kB / 0.7138 GB, free: 7.773 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5928, allocations: 4 kB / 0.7138 GB, free: 7.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003654/0.5931, allocations: 16 kB / 0.7138 GB, free: 7.754 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.0001854/0.5933, allocations: 107.2 kB / 0.7139 GB, free: 7.637 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004723/0.5938, allocations: 67.92 kB / 0.714 GB, free: 7.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5938, allocations: 0 / 0.714 GB, free: 7.57 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.5941, allocations: 39.95 kB / 0.714 GB, free: 7.531 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004665/0.5945, allocations: 19.88 kB / 0.7141 GB, free: 7.512 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.595, allocations: 163.7 kB / 0.7142 GB, free: 7.324 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.5953, allocations: 0.6807 MB / 0.7149 GB, free: 6.617 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.019e-05/0.5954, allocations: 3.984 kB / 0.7149 GB, free: 6.613 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.5954, allocations: 11.44 kB / 0.7149 GB, free: 6.602 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.5954, allocations: 0 / 0.7149 GB, free: 6.602 MB / 0.545 GB Notification: Performance of Templates: time 0.004657/0.6001, allocations: 0.9906 MB / 0.7159 GB, free: 5.625 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)