Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00157/0.00157, allocations: 114.8 kB / 16.37 MB, free: 6.004 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.001626/0.001626, allocations: 196 kB / 17.31 MB, free: 5.613 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.386/1.386, 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/package.mo): time 0.8603/0.8603, allocations: 132.2 MB / 423.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 59.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.373, allocations: 80.17 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002559/0.3756, allocations: 1.648 MB / 0.5831 GB, free: 26.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.158/0.5336, allocations: 149.7 MB / 0.7293 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.5338, allocations: 4 kB / 0.7293 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.534, allocations: 19.8 kB / 0.7293 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.5342, allocations: 55.62 kB / 0.7294 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.5346, allocations: 179.3 kB / 0.7295 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.5348, allocations: 159.5 kB / 0.7297 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.5349, allocations: 27.97 kB / 0.7297 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.536, allocations: 197.4 kB / 0.7299 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.5361, allocations: 59.75 kB / 0.73 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.5361, allocations: 8 kB / 0.73 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.5364, allocations: 163.8 kB / 0.7301 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.259e-05/0.5365, allocations: 23.91 kB / 0.7301 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.5365, allocations: 47.8 kB / 0.7302 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.5368, allocations: 197.2 kB / 0.7304 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5369, allocations: 3.938 kB / 0.7304 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5369, allocations: 4 kB / 0.7304 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.5369, allocations: 0 / 0.7304 GB, free: 5.285 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.0007669/0.5377, allocations: 459 kB / 0.7308 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.5377, allocations: 20.02 kB / 0.7308 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006083/0.5383, allocations: 48.7 kB / 0.7309 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.5385, allocations: 202.8 kB / 0.7311 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.5386, allocations: 11.95 kB / 0.7311 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.5386, allocations: 8 kB / 0.7311 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004076/0.539, allocations: 183.8 kB / 0.7313 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.539, allocations: 0 / 0.7313 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.539, allocations: 4 kB / 0.7313 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.539, allocations: 4 kB / 0.7313 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004668/0.5395, allocations: 143.8 kB / 0.7314 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.5406, allocations: 0.8244 MB / 0.7322 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/0.541, allocations: 134.4 kB / 0.7324 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.5412, allocations: 84.78 kB / 0.7324 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.5412, allocations: 3.938 kB / 0.7324 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.5413, allocations: 34.56 kB / 0.7325 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 2.445e-06/0.5413, allocations: 0 / 0.7325 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001826/0.5431, allocations: 459.1 kB / 0.7329 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.5432, allocations: 51.41 kB / 0.733 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.5433, allocations: 149.8 kB / 0.7331 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.5433, allocations: 25.7 kB / 0.7331 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.5434, allocations: 116.1 kB / 0.7332 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.5434, allocations: 23.56 kB / 0.7333 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.5435, allocations: 33.69 kB / 0.7333 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.877e-05/0.5436, allocations: 318.8 kB / 0.7336 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.5438, allocations: 67.92 kB / 0.7337 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.5441, allocations: 100.2 kB / 0.7338 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004592/0.5445, allocations: 180.1 kB / 0.7339 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5445, allocations: 0 / 0.7339 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009957/0.5455, allocations: 282.2 kB / 0.7342 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.5456, allocations: 7.938 kB / 0.7342 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.5456, allocations: 0 / 0.7342 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005848/0.5462, allocations: 88.83 kB / 0.7343 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.5464, allocations: 43.88 kB / 0.7343 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.5484, allocations: 1.657 MB / 0.7359 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.5487, allocations: 19.92 kB / 0.736 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.5487, allocations: 11.98 kB / 0.736 GB, free: 15.09 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.0001134/0.5488, allocations: 125.8 kB / 0.7361 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.5489, allocations: 11.91 kB / 0.7361 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.5499, allocations: 311.2 kB / 0.7364 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.5499, allocations: 4 kB / 0.7364 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.5499, allocations: 0 / 0.7364 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.5499, allocations: 4 kB / 0.7364 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.5502, allocations: 237.4 kB / 0.7366 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.5502, allocations: 192 / 0.7366 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.5504, allocations: 27.97 kB / 0.7367 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004297/0.5509, allocations: 84.75 kB / 0.7367 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.5509, allocations: 11.88 kB / 0.7368 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/0.5527, allocations: 1.685 MB / 0.7384 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5527, allocations: 3.938 kB / 0.7384 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/0.5537, allocations: 379.2 kB / 0.7388 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.5538, allocations: 85 kB / 0.7389 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.5538, allocations: 4 kB / 0.7389 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.554, allocations: 23.92 kB / 0.7389 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.5541, allocations: 11.92 kB / 0.7389 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.5541, allocations: 11.98 kB / 0.7389 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.757e-05/0.5542, allocations: 103.3 kB / 0.739 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5542, allocations: 0 / 0.739 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003337/0.5545, allocations: 44 kB / 0.739 GB, free: 11.7 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.0001891/0.5547, allocations: 115.2 kB / 0.7392 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008688/0.5556, allocations: 310.7 kB / 0.7394 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.5556, allocations: 0 / 0.7394 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004961/0.5561, allocations: 230.5 kB / 0.7397 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.5565, allocations: 29.86 kB / 0.7397 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007764/0.5573, allocations: 287.3 kB / 0.74 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.5575, allocations: 0.7045 MB / 0.7407 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000125/0.5576, allocations: 29 kB / 0.7407 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.971e-05/0.5577, allocations: 27.36 kB / 0.7407 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.5577, allocations: 4 kB / 0.7407 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of Templates: time 0.006723/0.5644, allocations: 3.209 MB / 0.7438 GB, free: 6.719 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)