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.006688/0.006688, allocations: 95.7 kB / 15.73 MB, free: 6.039 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.001583/0.001583, allocations: 202.6 kB / 16.68 MB, free: 5.969 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.04/1.04, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 59.91 kB / 0.5856 GB, free: 3.34 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4818/0.483, allocations: 80.92 MB / 0.6646 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002929/0.486, allocations: 1.639 MB / 0.6662 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1896/0.6756, allocations: 149.7 MB / 0.8124 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.6758, allocations: 4 kB / 0.8124 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.676, allocations: 23.8 kB / 0.8125 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.6763, allocations: 47.66 kB / 0.8125 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004536/0.6768, allocations: 183.3 kB / 0.8127 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.677, allocations: 155.5 kB / 0.8128 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.6772, allocations: 31.95 kB / 0.8129 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.6783, allocations: 183.1 kB / 0.813 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.6785, allocations: 67.73 kB / 0.8131 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.6785, allocations: 8 kB / 0.8131 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002928/0.6788, allocations: 159.8 kB / 0.8133 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.112e-05/0.6789, allocations: 31.84 kB / 0.8133 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 7.974e-05/0.6789, allocations: 47.78 kB / 0.8133 GB, free: 8.809 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.6793, allocations: 204.6 kB / 0.8135 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.6793, allocations: 0 / 0.8135 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.364e-06/0.6793, allocations: 0 / 0.8135 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.6793, allocations: 0 / 0.8135 GB, free: 8.613 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008231/0.6802, allocations: 462.7 kB / 0.814 GB, free: 8.113 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.6802, allocations: 12.03 kB / 0.814 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005772/0.6808, allocations: 56.78 kB / 0.814 GB, free: 8.047 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.681, allocations: 210.8 kB / 0.8142 GB, free: 7.801 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.681, allocations: 4 kB / 0.8142 GB, free: 7.797 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.6811, allocations: 8 kB / 0.8142 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/0.6815, allocations: 181.8 kB / 0.8144 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.6815, allocations: 0 / 0.8144 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.6816, allocations: 4 kB / 0.8144 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.6816, allocations: 4 kB / 0.8144 GB, free: 7.582 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004743/0.682, allocations: 147.8 kB / 0.8146 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.6831, allocations: 0.8206 MB / 0.8154 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003972/0.6835, allocations: 138.4 kB / 0.8155 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.6838, allocations: 80.8 kB / 0.8156 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.6838, allocations: 0 / 0.8156 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.6838, allocations: 34.56 kB / 0.8156 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 8.21e-07/0.6839, allocations: 0 / 0.8156 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.001843/0.6857, allocations: 459.2 kB / 0.816 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.6858, allocations: 51.41 kB / 0.8161 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.6859, allocations: 140.2 kB / 0.8162 GB, free: 5.586 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.6859, allocations: 33.7 kB / 0.8163 GB, free: 5.547 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.895e-05/0.686, allocations: 112.1 kB / 0.8164 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.686, allocations: 39.88 kB / 0.8164 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.6861, allocations: 25.7 kB / 0.8164 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.6862, allocations: 322.8 kB / 0.8167 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.6865, allocations: 63.94 kB / 0.8168 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.6867, allocations: 112.2 kB / 0.8169 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004737/0.6872, allocations: 176.1 kB / 0.8171 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.6872, allocations: 4 kB / 0.8171 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000975/0.6882, allocations: 278.2 kB / 0.8173 GB, free: 4.379 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.6882, allocations: 8.062 kB / 0.8174 GB, free: 4.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.6882, allocations: 7.984 kB / 0.8174 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005443/0.6888, allocations: 88.7 kB / 0.8174 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.689, allocations: 31.97 kB / 0.8175 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.6912, allocations: 1.654 MB / 0.8191 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.6914, allocations: 27.91 kB / 0.8191 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.6914, allocations: 7.984 kB / 0.8191 GB, free: 2.402 MB / 0.6387 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.0001041/0.6916, allocations: 127.2 kB / 0.8192 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.6916, allocations: 15.95 kB / 0.8193 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.6926, allocations: 311.2 kB / 0.8196 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.6927, allocations: 0 / 0.8196 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.6927, allocations: 0 / 0.8196 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.6927, allocations: 8 kB / 0.8196 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.6929, allocations: 229.5 kB / 0.8198 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6929, allocations: 0 / 0.8198 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.6931, allocations: 32.16 kB / 0.8198 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000407/0.6936, allocations: 76.77 kB / 0.8199 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.6936, allocations: 11.92 kB / 0.8199 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001791/0.6954, allocations: 1.689 MB / 0.8215 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6954, allocations: 0 / 0.8215 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009857/0.6964, allocations: 378.3 kB / 0.8219 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.6965, allocations: 81.06 kB / 0.822 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.6965, allocations: 8 kB / 0.822 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.6967, allocations: 23.91 kB / 0.822 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.6968, allocations: 15.92 kB / 0.822 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.6968, allocations: 4 kB / 0.822 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.814e-05/0.6969, allocations: 109.5 kB / 0.8221 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6969, allocations: 0 / 0.8221 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003309/0.6972, allocations: 47.89 kB / 0.8222 GB, free: 15.02 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 (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.0001897/0.6974, allocations: 120.5 kB / 0.8223 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000855/0.6983, allocations: 302.7 kB / 0.8226 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6983, allocations: 4 kB / 0.8226 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005021/0.6988, allocations: 234.5 kB / 0.8228 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.6991, allocations: 23.92 kB / 0.8228 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007818/0.6999, allocations: 316.7 kB / 0.8231 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.7002, allocations: 0.7046 MB / 0.8238 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.7003, allocations: 29 kB / 0.8239 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.718e-05/0.7004, allocations: 15.42 kB / 0.8239 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.7004, allocations: 0 / 0.8239 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.006263/0.7067, allocations: 3.231 MB / 0.827 GB, free: 10.01 MB / 0.6544 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)