Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.007628/0.007628, allocations: 103.2 kB / 15.73 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.001935/0.001935, allocations: 191.2 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2681/0.2681, allocations: 54.97 MB / 324.9 MB, free: 4.848 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 71.91 kB / 456.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1442, allocations: 59.59 MB / 0.5037 GB, free: 7.09 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003539/0.1478, allocations: 1.676 MB / 0.5053 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.5995/0.7474, allocations: 149.7 MB / 0.6515 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.7476, allocations: 0 / 0.6515 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002097/0.7478, allocations: 31.73 kB / 0.6515 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.107e-05/0.7479, allocations: 31.77 kB / 0.6515 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000776/0.7487, allocations: 195.7 kB / 0.6517 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.7489, allocations: 167.5 kB / 0.6519 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.7491, allocations: 31.5 kB / 0.6519 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.7493, allocations: 95.69 kB / 0.652 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.7494, allocations: 71.73 kB / 0.6521 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.189e-05/0.7495, allocations: 12 kB / 0.6521 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000321/0.7498, allocations: 175.8 kB / 0.6523 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.028e-05/0.7499, allocations: 23.92 kB / 0.6523 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.829e-05/0.7499, allocations: 55.78 kB / 0.6523 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003488/0.7503, allocations: 222.1 kB / 0.6525 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.7503, allocations: 7.938 kB / 0.6525 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.326e-06/0.7503, allocations: 0 / 0.6525 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.7503, allocations: 3.938 kB / 0.6526 GB, free: 8.508 MB / 0.4981 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.001128/0.7515, allocations: 0.5186 MB / 0.6531 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.7515, allocations: 8.031 kB / 0.6531 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006559/0.7522, allocations: 56.34 kB / 0.6531 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.7525, allocations: 198.9 kB / 0.6533 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.7525, allocations: 15.94 kB / 0.6533 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.7526, allocations: 12 kB / 0.6533 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005345/0.7531, allocations: 205.8 kB / 0.6535 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.7531, allocations: 0 / 0.6535 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.7532, allocations: 8 kB / 0.6535 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.7532, allocations: 0 / 0.6535 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005706/0.7538, allocations: 179.7 kB / 0.6537 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.755, allocations: 0.8285 MB / 0.6545 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.7554, allocations: 174.4 kB / 0.6547 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003135/0.7558, allocations: 112.8 kB / 0.6548 GB, free: 6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.7558, allocations: 7.938 kB / 0.6548 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.7558, allocations: 34.56 kB / 0.6548 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.7558, allocations: 0 / 0.6548 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.002148/0.758, allocations: 0.5383 MB / 0.6554 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.7581, allocations: 55.34 kB / 0.6554 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.7582, allocations: 153.9 kB / 0.6556 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.7582, allocations: 29.64 kB / 0.6556 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.693e-05/0.7583, allocations: 112.3 kB / 0.6557 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.7584, allocations: 31.55 kB / 0.6557 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.615e-05/0.7585, allocations: 37.69 kB / 0.6558 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.7586, allocations: 322.8 kB / 0.6561 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.7589, allocations: 107.9 kB / 0.6562 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003289/0.7593, allocations: 144.1 kB / 0.6563 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006531/0.7599, allocations: 301.3 kB / 0.6566 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.76, allocations: 0 / 0.6566 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001257/0.7612, allocations: 445.4 kB / 0.657 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.282e-05/0.7613, allocations: 71.33 kB / 0.6571 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.7613, allocations: 0 / 0.6571 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006264/0.7619, allocations: 100.9 kB / 0.6572 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.7622, allocations: 35.91 kB / 0.6572 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/0.7648, allocations: 1.757 MB / 0.6589 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.7651, allocations: 35.84 kB / 0.659 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.7651, allocations: 12 kB / 0.659 GB, free: 1.406 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (wetBulApp.iWat,wetBul.iWat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001416/0.7653, allocations: 125.8 kB / 0.6591 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.295e-05/0.7654, allocations: 11.89 kB / 0.6591 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.7666, allocations: 379 kB / 0.6595 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.7666, allocations: 0 / 0.6595 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.7666, allocations: 3.984 kB / 0.6595 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.7666, allocations: 0 / 0.6595 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.768, allocations: 0.6356 MB / 0.6601 GB, free: 188 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.768, allocations: 0 / 0.6601 GB, free: 188 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.7683, allocations: 39.95 kB / 0.6601 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004649/0.7687, allocations: 80.77 kB / 0.6602 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.7688, allocations: 8 kB / 0.6602 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/0.7709, allocations: 1.775 MB / 0.662 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.7709, allocations: 3.984 kB / 0.662 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.7721, allocations: 447.9 kB / 0.6624 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.7722, allocations: 92.89 kB / 0.6625 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.7722, allocations: 4 kB / 0.6625 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.7724, allocations: 11.98 kB / 0.6625 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.174e-05/0.7725, allocations: 19.97 kB / 0.6625 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.7725, allocations: 8 kB / 0.6625 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.663e-05/0.7726, allocations: 111.2 kB / 0.6626 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7726, allocations: 3.938 kB / 0.6626 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003974/0.773, allocations: 56 kB / 0.6627 GB, free: 13.36 MB / 0.5137 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 (11): * 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: 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.0003917/0.7734, allocations: 139.4 kB / 0.6628 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.7747, allocations: 0.4896 MB / 0.6633 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.7748, allocations: 4 kB / 0.6633 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005992/0.7754, allocations: 254.5 kB / 0.6635 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.7757, allocations: 27.59 kB / 0.6636 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009903/0.7767, allocations: 342.7 kB / 0.6639 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.7771, allocations: 0.7085 MB / 0.6646 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001407/0.7772, allocations: 28.58 kB / 0.6646 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.475e-05/0.7773, allocations: 19.42 kB / 0.6646 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of SimCode: time 4.91e-07/0.7773, allocations: 0 / 0.6646 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of Templates: time 0.008061/0.7853, allocations: 3.717 MB / 0.6683 GB, free: 7.602 MB / 0.5137 GB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)