Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005323/0.005323, allocations: 106.2 kB / 15.74 MB, free: 6.441 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.001191/0.001191, allocations: 195.1 kB / 16.67 MB, free: 6.355 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7998/0.7998, allocations: 132.2 MB / 422.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 67.89 kB / 0.5813 GB, free: 7.578 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4493/0.4508, allocations: 80.2 MB / 0.6597 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002948/0.4538, allocations: 1.883 MB / 0.6615 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1812/0.6351, allocations: 155.4 MB / 0.8133 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002888/0.6354, allocations: 7.938 kB / 0.8133 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.6357, allocations: 23.73 kB / 0.8133 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0004689/0.6362, allocations: 67.48 kB / 0.8134 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009352/0.6372, allocations: 267.1 kB / 0.8136 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004232/0.6376, allocations: 259.2 kB / 0.8139 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.6378, allocations: 72.08 kB / 0.8139 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001501/0.6393, allocations: 246.9 kB / 0.8142 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.6395, allocations: 91.59 kB / 0.8143 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.118e-05/0.6396, allocations: 16 kB / 0.8143 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003878/0.64, allocations: 183.7 kB / 0.8144 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 7.951e-05/0.6401, allocations: 47.83 kB / 0.8145 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.6402, allocations: 87.58 kB / 0.8146 GB, free: 7.227 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0005549/0.6407, allocations: 275.1 kB / 0.8148 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6408, allocations: 4 kB / 0.8148 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6408, allocations: 0 / 0.8148 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.6408, allocations: 0 / 0.8148 GB, free: 6.953 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.00108/0.6419, allocations: 0.5146 MB / 0.8153 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.6419, allocations: 8.031 kB / 0.8153 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009147/0.6428, allocations: 75.73 kB / 0.8154 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.6432, allocations: 226.7 kB / 0.8156 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.611e-05/0.6433, allocations: 45.95 kB / 0.8157 GB, free: 5.996 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.6434, allocations: 16 kB / 0.8157 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005732/0.6439, allocations: 271.2 kB / 0.816 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.644, allocations: 0 / 0.816 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.644, allocations: 15.92 kB / 0.816 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.644, allocations: 4 kB / 0.816 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004656/0.6445, allocations: 163.8 kB / 0.8161 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/0.6462, allocations: 1.177 MB / 0.8173 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000758/0.647, allocations: 202.6 kB / 0.8175 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.6472, allocations: 68.83 kB / 0.8175 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.6472, allocations: 7.984 kB / 0.8175 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.6473, allocations: 42.5 kB / 0.8176 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.6473, allocations: 0 / 0.8176 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12): time 0.002582/0.6499, allocations: 0.6219 MB / 0.8182 GB, free: 3.246 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.6499, allocations: 51.41 kB / 0.8182 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.6502, allocations: 202.3 kB / 0.8184 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.6502, allocations: 29.7 kB / 0.8185 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 9.741e-05/0.6503, allocations: 139.5 kB / 0.8186 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.6504, allocations: 43.45 kB / 0.8186 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.206e-05/0.6504, allocations: 41.69 kB / 0.8187 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.6506, allocations: 326.8 kB / 0.819 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.6508, allocations: 71.94 kB / 0.8191 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.6511, allocations: 136.5 kB / 0.8192 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004682/0.6516, allocations: 210 kB / 0.8194 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.6516, allocations: 0 / 0.8194 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001492/0.6531, allocations: 370.7 kB / 0.8197 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.6531, allocations: 4.219 kB / 0.8197 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.6532, allocations: 8 kB / 0.8198 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.6543, allocations: 153.5 kB / 0.8199 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.6546, allocations: 51.83 kB / 0.8199 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004042/0.6586, allocations: 3.243 MB / 0.8231 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.659, allocations: 51.75 kB / 0.8232 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.659, allocations: 4 kB / 0.8232 GB, free: 13.75 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.6592, allocations: 131.8 kB / 0.8233 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/0.6593, allocations: 19.8 kB / 0.8233 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.6605, allocations: 368.2 kB / 0.8237 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.6605, allocations: 4 kB / 0.8237 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.6605, allocations: 0 / 0.8237 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.6605, allocations: 0 / 0.8237 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.6609, allocations: 281.4 kB / 0.8239 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.6609, allocations: 0 / 0.8239 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.661, allocations: 23.92 kB / 0.824 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007864/0.6618, allocations: 137.6 kB / 0.8241 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.6618, allocations: 4 kB / 0.8241 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003588/0.6654, allocations: 3.297 MB / 0.8273 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6655, allocations: 0 / 0.8273 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.6667, allocations: 434.6 kB / 0.8277 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.6668, allocations: 108.9 kB / 0.8278 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.6668, allocations: 7.938 kB / 0.8278 GB, free: 8.559 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/0.6671, allocations: 11.98 kB / 0.8278 GB, free: 8.547 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-05/0.6672, allocations: 19.97 kB / 0.8279 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.6672, allocations: 7.938 kB / 0.8279 GB, free: 8.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001869/0.6674, allocations: 144.2 kB / 0.828 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6674, allocations: 0 / 0.828 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000438/0.6679, allocations: 83.88 kB / 0.8281 GB, free: 8.297 MB / 0.6544 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000227/0.6681, allocations: 115.2 kB / 0.8282 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001115/0.6692, allocations: 441.5 kB / 0.8286 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6692, allocations: 0 / 0.8286 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006774/0.6699, allocations: 363.4 kB / 0.829 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.6704, allocations: 55.95 kB / 0.829 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.6714, allocations: 415.5 kB / 0.8294 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.6717, allocations: 0.7285 MB / 0.8301 GB, free: 6.098 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001773/0.6719, allocations: 46 kB / 0.8302 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/0.672, allocations: 15.44 kB / 0.8302 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of SimCode: time 1.573e-06/0.672, allocations: 0 / 0.8302 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of Templates: time 0.01042/0.6824, allocations: 5.342 MB / 0.8354 GB, free: 0.7656 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)