Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001003/0.001003, allocations: 98.88 kB / 16.02 MB, free: 72 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.0009887/0.0009887, allocations: 182.7 kB / 16.92 MB, free: 6.914 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.327/1.327, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9318/0.9318, allocations: 135.3 MB / 427.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.000328, allocations: 8 kB / 0.5082 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1454, allocations: 82.31 MB / 0.5886 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.001876/0.1473, allocations: 1.577 MB / 0.5901 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.386/0.5333, allocations: 151.5 MB / 0.7381 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.5335, allocations: 1.375 kB / 0.7381 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.5337, allocations: 19.14 kB / 0.7381 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.534, allocations: 63.73 kB / 0.7381 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007834/0.5348, allocations: 227.5 kB / 0.7384 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003022/0.5351, allocations: 249.5 kB / 0.7386 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.5353, allocations: 64.33 kB / 0.7387 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.5372, allocations: 210.8 kB / 0.7389 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.5373, allocations: 77.89 kB / 0.7389 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.5374, allocations: 5.156 kB / 0.7389 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004022/0.5378, allocations: 179.8 kB / 0.7391 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.374e-05/0.5378, allocations: 32.36 kB / 0.7391 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.538, allocations: 105.4 kB / 0.7392 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.5383, allocations: 191.2 kB / 0.7394 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5383, allocations: 0 / 0.7394 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5383, allocations: 0 / 0.7394 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.5383, allocations: 0 / 0.7394 GB, free: 12.27 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.00086/0.5391, allocations: 495.4 kB / 0.7399 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.5392, allocations: 16.81 kB / 0.7399 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008511/0.54, allocations: 81.72 kB / 0.74 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.5403, allocations: 216.8 kB / 0.7402 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.854e-05/0.5404, allocations: 40.69 kB / 0.7402 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.5404, allocations: 19.69 kB / 0.7403 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005693/0.541, allocations: 266.1 kB / 0.7405 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.541, allocations: 4 kB / 0.7405 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.5411, allocations: 7.281 kB / 0.7405 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.5411, allocations: 3.344 kB / 0.7405 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004815/0.5416, allocations: 183 kB / 0.7407 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.5432, allocations: 1.177 MB / 0.7419 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007679/0.544, allocations: 215.4 kB / 0.7421 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.5442, allocations: 76.06 kB / 0.7421 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.5443, allocations: 1.125 kB / 0.7421 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.5443, allocations: 35.75 kB / 0.7422 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.5443, allocations: 0 / 0.7422 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.002773/0.5471, allocations: 0.6458 MB / 0.7428 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.5471, allocations: 57.97 kB / 0.7429 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.5474, allocations: 201.6 kB / 0.743 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.5474, allocations: 31.17 kB / 0.7431 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.038e-05/0.5475, allocations: 141.7 kB / 0.7432 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.5475, allocations: 35.8 kB / 0.7432 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.5476, allocations: 25.02 kB / 0.7433 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.837e-05/0.5477, allocations: 322.8 kB / 0.7436 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.5479, allocations: 84.28 kB / 0.7437 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.5482, allocations: 138.5 kB / 0.7438 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/0.5487, allocations: 215.1 kB / 0.744 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.5487, allocations: 1.844 kB / 0.744 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001531/0.5502, allocations: 387.1 kB / 0.7444 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.5502, allocations: 9.031 kB / 0.7444 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.5502, allocations: 1.812 kB / 0.7444 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.5514, allocations: 164.4 kB / 0.7445 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.5516, allocations: 42.86 kB / 0.7446 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003757/0.5554, allocations: 3.032 MB / 0.7475 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000386/0.5558, allocations: 39.14 kB / 0.7476 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.5558, allocations: 9.062 kB / 0.7476 GB, free: 5.883 MB / 0.5606 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.000145/0.5559, allocations: 130.6 kB / 0.7477 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.675e-05/0.556, allocations: 15.97 kB / 0.7477 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.5574, allocations: 384.9 kB / 0.7481 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.5574, allocations: 2 kB / 0.7481 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.5574, allocations: 1.438 kB / 0.7481 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5574, allocations: 2.859 kB / 0.7481 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.5578, allocations: 279.5 kB / 0.7484 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.5578, allocations: 0 / 0.7484 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.5579, allocations: 23.83 kB / 0.7484 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009842/0.5589, allocations: 166.9 kB / 0.7485 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.5589, allocations: 5.281 kB / 0.7485 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003423/0.5624, allocations: 3.087 MB / 0.7516 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5624, allocations: 4.062 kB / 0.7516 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.5637, allocations: 445.2 kB / 0.752 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.5638, allocations: 105.4 kB / 0.7521 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.5639, allocations: 5.906 kB / 0.7521 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.5642, allocations: 22.39 kB / 0.7521 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.914e-05/0.5643, allocations: 23.41 kB / 0.7521 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.5643, allocations: 9.656 kB / 0.7521 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001755/0.5645, allocations: 152.7 kB / 0.7523 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5645, allocations: 0 / 0.7523 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004512/0.5649, allocations: 75.62 kB / 0.7524 GB, free: 1.785 MB / 0.5606 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.0001666/0.5651, allocations: 111.2 kB / 0.7525 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.5661, allocations: 451.4 kB / 0.7529 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5662, allocations: 2.906 kB / 0.7529 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006542/0.5668, allocations: 357.3 kB / 0.7532 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.5673, allocations: 54.53 kB / 0.7533 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008867/0.5682, allocations: 0.4964 MB / 0.7538 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.5685, allocations: 0.7294 MB / 0.7545 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.445e-05/0.5685, allocations: 25.64 kB / 0.7545 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.5685, allocations: 0 / 0.7545 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of Templates: time 0.006329/0.5749, allocations: 4.394 MB / 0.7588 GB, free: 13.21 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)