Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 110 kB / 16.37 MB, free: 6.469 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.001044/0.001044, allocations: 195.8 kB / 17.31 MB, free: 5.824 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 / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7876/0.7876, allocations: 135.1 MB / 426.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001236, allocations: 59.91 kB / 0.5068 GB, free: 7.695 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.402, allocations: 80.89 MB / 0.5858 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002903/0.405, allocations: 1.647 MB / 0.5874 GB, free: 24.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1496/0.5546, allocations: 149.7 MB / 0.7335 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.5548, allocations: 4 kB / 0.7335 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.5551, allocations: 23.8 kB / 0.7336 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00035/0.5555, allocations: 55.62 kB / 0.7336 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.5561, allocations: 183.3 kB / 0.7338 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.5563, allocations: 155.5 kB / 0.7339 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.5565, allocations: 20 kB / 0.734 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.5576, allocations: 196.2 kB / 0.7342 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.5578, allocations: 59.81 kB / 0.7342 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.5578, allocations: 8 kB / 0.7342 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002971/0.5581, allocations: 163.7 kB / 0.7344 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.41e-05/0.5581, allocations: 27.91 kB / 0.7344 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.405e-05/0.5582, allocations: 47.73 kB / 0.7344 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.5586, allocations: 201.2 kB / 0.7346 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.5586, allocations: 0 / 0.7346 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5586, allocations: 0 / 0.7346 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.5586, allocations: 4 kB / 0.7346 GB, free: 1.621 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009028/0.5595, allocations: 465.4 kB / 0.7351 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.5596, allocations: 13.11 kB / 0.7351 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006478/0.5602, allocations: 52.78 kB / 0.7351 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.5605, allocations: 206.7 kB / 0.7353 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.5605, allocations: 4 kB / 0.7353 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.5605, allocations: 8 kB / 0.7354 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004335/0.561, allocations: 189.7 kB / 0.7355 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.561, allocations: 0 / 0.7355 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.561, allocations: 3.984 kB / 0.7355 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.561, allocations: 4 kB / 0.7355 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/0.5615, allocations: 143.8 kB / 0.7357 GB, free: 460 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.5626, allocations: 0.8244 MB / 0.7365 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/0.563, allocations: 134.5 kB / 0.7366 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.5633, allocations: 80.78 kB / 0.7367 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.5633, allocations: 0 / 0.7367 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.5634, allocations: 38.5 kB / 0.7367 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.5634, allocations: 3.938 kB / 0.7367 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.001862/0.5652, allocations: 455.4 kB / 0.7372 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.5653, allocations: 55.39 kB / 0.7372 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.5654, allocations: 152.2 kB / 0.7374 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.5655, allocations: 29.7 kB / 0.7374 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.919e-05/0.5655, allocations: 111.9 kB / 0.7375 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.5656, allocations: 27.56 kB / 0.7375 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.172e-05/0.5656, allocations: 29.69 kB / 0.7376 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.5658, allocations: 322.8 kB / 0.7379 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.566, allocations: 63.94 kB / 0.7379 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.5663, allocations: 108.2 kB / 0.738 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000467/0.5667, allocations: 172.1 kB / 0.7382 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5668, allocations: 0 / 0.7382 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000992/0.5678, allocations: 282.2 kB / 0.7385 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.5678, allocations: 11.94 kB / 0.7385 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.5678, allocations: 400 / 0.7385 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006243/0.5684, allocations: 88.77 kB / 0.7386 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.5687, allocations: 35.89 kB / 0.7386 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.5709, allocations: 1.658 MB / 0.7402 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.5712, allocations: 27.91 kB / 0.7402 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.5712, allocations: 4 kB / 0.7402 GB, free: 11.42 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.5713, allocations: 117.8 kB / 0.7404 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.5714, allocations: 15.91 kB / 0.7404 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.5724, allocations: 314.8 kB / 0.7407 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.5724, allocations: 0 / 0.7407 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-06/0.5724, allocations: 4 kB / 0.7407 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.5724, allocations: 4 kB / 0.7407 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.5727, allocations: 237.2 kB / 0.7409 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.5727, allocations: 4 kB / 0.7409 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.5729, allocations: 39.89 kB / 0.7409 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004336/0.5734, allocations: 80.72 kB / 0.741 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.5734, allocations: 3.938 kB / 0.741 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/0.5752, allocations: 1.686 MB / 0.7427 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5752, allocations: 3.938 kB / 0.7427 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009763/0.5762, allocations: 375.2 kB / 0.743 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.013e-05/0.5762, allocations: 84.92 kB / 0.7431 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.5763, allocations: 8 kB / 0.7431 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.5765, allocations: 19.92 kB / 0.7431 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.476e-05/0.5766, allocations: 15.97 kB / 0.7432 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.5766, allocations: 4 kB / 0.7432 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.713e-05/0.5766, allocations: 105.5 kB / 0.7433 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5767, allocations: 0 / 0.7433 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003242/0.577, allocations: 47.98 kB / 0.7433 GB, free: 8.027 MB / 0.5762 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001809/0.5772, allocations: 122.1 kB / 0.7434 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008472/0.578, allocations: 306.7 kB / 0.7437 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.578, allocations: 4 kB / 0.7437 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004894/0.5785, allocations: 226.6 kB / 0.7439 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.5789, allocations: 25.91 kB / 0.744 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007946/0.5797, allocations: 295.2 kB / 0.7442 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.5799, allocations: 0.7084 MB / 0.7449 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001239/0.5801, allocations: 20.88 kB / 0.745 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.55e-05/0.5801, allocations: 19.42 kB / 0.745 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.5801, allocations: 4 kB / 0.745 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of Templates: time 0.006705/0.5869, allocations: 3.213 MB / 0.7481 GB, free: 3.043 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)