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.001024/0.001024, allocations: 117.2 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.0009944/0.0009944, allocations: 193.2 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8113/0.8113, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.91 kB / 0.5068 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3701, allocations: 80.9 MB / 0.5858 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002631/0.3728, allocations: 1.886 MB / 0.5876 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1633/0.5361, allocations: 155.4 MB / 0.7394 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002604/0.5364, allocations: 4 kB / 0.7394 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002344/0.5368, allocations: 23.73 kB / 0.7394 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004368/0.5372, allocations: 71.48 kB / 0.7395 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000744/0.538, allocations: 259 kB / 0.7397 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003651/0.5383, allocations: 255.2 kB / 0.74 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.5385, allocations: 68.05 kB / 0.74 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.5398, allocations: 248.8 kB / 0.7403 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.54, allocations: 87.66 kB / 0.7403 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/0.5401, allocations: 16 kB / 0.7404 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003788/0.5404, allocations: 183.7 kB / 0.7405 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.086e-05/0.5405, allocations: 43.83 kB / 0.7406 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.5406, allocations: 91.58 kB / 0.7407 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004982/0.5411, allocations: 275 kB / 0.7409 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5412, allocations: 0 / 0.7409 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5412, allocations: 0 / 0.7409 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.5412, allocations: 0 / 0.7409 GB, free: 11.17 MB / 0.5762 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.001001/0.5422, allocations: 0.5107 MB / 0.7414 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.5422, allocations: 9.109 kB / 0.7414 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008897/0.5431, allocations: 83.64 kB / 0.7415 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.5435, allocations: 230.7 kB / 0.7417 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-05/0.5435, allocations: 45.97 kB / 0.7418 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.5436, allocations: 23.92 kB / 0.7418 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/0.5441, allocations: 250.7 kB / 0.742 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5441, allocations: 3.938 kB / 0.742 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.5442, allocations: 15.98 kB / 0.7421 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.5442, allocations: 4 kB / 0.7421 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004248/0.5446, allocations: 159.8 kB / 0.7422 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.5463, allocations: 1.173 MB / 0.7434 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007142/0.547, allocations: 214.6 kB / 0.7436 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.5472, allocations: 68.83 kB / 0.7436 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.5472, allocations: 3.984 kB / 0.7436 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.5473, allocations: 34.55 kB / 0.7437 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 3.757e-06/0.5473, allocations: 4 kB / 0.7437 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.002553/0.5498, allocations: 0.6258 MB / 0.7443 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.5499, allocations: 51.41 kB / 0.7443 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.5501, allocations: 198.9 kB / 0.7445 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.5502, allocations: 29.7 kB / 0.7446 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.5503, allocations: 139.5 kB / 0.7447 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.5503, allocations: 55.3 kB / 0.7447 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.747e-05/0.5504, allocations: 37.69 kB / 0.7448 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.5505, allocations: 330.8 kB / 0.7451 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.5508, allocations: 71.94 kB / 0.7452 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.551, allocations: 129.4 kB / 0.7453 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/0.5514, allocations: 198.7 kB / 0.7455 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.5515, allocations: 4 kB / 0.7455 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001411/0.5529, allocations: 377 kB / 0.7458 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.5529, allocations: 4 kB / 0.7458 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.5529, allocations: 4 kB / 0.7458 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.554, allocations: 161.8 kB / 0.746 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.5542, allocations: 43.83 kB / 0.746 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003921/0.5581, allocations: 3.242 MB / 0.7492 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.5585, allocations: 43.69 kB / 0.7492 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.5585, allocations: 8 kB / 0.7493 GB, free: 1.961 MB / 0.5762 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.0001296/0.5587, allocations: 133.8 kB / 0.7494 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.5587, allocations: 19.8 kB / 0.7494 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.56, allocations: 368.2 kB / 0.7498 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.56, allocations: 4 kB / 0.7498 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.56, allocations: 0 / 0.7498 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.56, allocations: 0 / 0.7498 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.5603, allocations: 273.4 kB / 0.75 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5603, allocations: 0 / 0.75 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.5605, allocations: 23.92 kB / 0.75 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007981/0.5613, allocations: 145.6 kB / 0.7502 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.5613, allocations: 0 / 0.7502 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2607/0.822, allocations: 3.289 MB / 0.7534 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.822, allocations: 1.156 kB / 0.7534 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.8232, allocations: 435.7 kB / 0.7538 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.713e-05/0.8234, allocations: 106.4 kB / 0.7539 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.8234, allocations: 6.672 kB / 0.7539 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/0.8237, allocations: 11.86 kB / 0.7539 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.09e-05/0.8238, allocations: 17.69 kB / 0.7539 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.8238, allocations: 13.89 kB / 0.754 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001619/0.8239, allocations: 148.8 kB / 0.7541 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.824, allocations: 0.8125 kB / 0.7541 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004145/0.8244, allocations: 70.12 kB / 0.7542 GB, free: 163.5 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 (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.0001637/0.8245, allocations: 121 kB / 0.7543 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009704/0.8255, allocations: 448.3 kB / 0.7547 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8255, allocations: 0.6875 kB / 0.7547 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006085/0.8262, allocations: 357.6 kB / 0.7551 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.8266, allocations: 65.33 kB / 0.7551 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00086/0.8274, allocations: 403.8 kB / 0.7555 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.8276, allocations: 0.7314 MB / 0.7562 GB, free: 162 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001574/0.8278, allocations: 32.67 kB / 0.7562 GB, free: 162 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.8279, allocations: 25.59 kB / 0.7563 GB, free: 162 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.8279, allocations: 4.969 kB / 0.7563 GB, free: 162 MB / 0.5762 GB Notification: Performance of Templates: time 0.01004/0.8379, allocations: 5.305 MB / 0.7615 GB, free: 160.2 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)