Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 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_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.006227/0.006227, allocations: 103.5 kB / 15.74 MB, free: 6.055 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.00148/0.001481, allocations: 195.5 kB / 16.68 MB, free: 5.965 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.51/1.51, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2693/0.2693, allocations: 54.95 MB / 324.9 MB, free: 4.844 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.001442/0.001442, allocations: 75.89 kB / 456.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.162, allocations: 59.59 MB / 0.5037 GB, free: 7.086 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.004484/0.1665, allocations: 1.919 MB / 0.5056 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.5488/0.7154, allocations: 155.4 MB / 0.6573 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002146/0.7157, allocations: 0 / 0.6573 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.7159, allocations: 23.73 kB / 0.6573 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.716, allocations: 55.55 kB / 0.6574 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000956/0.717, allocations: 284 kB / 0.6577 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003108/0.7173, allocations: 279.2 kB / 0.6579 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.7175, allocations: 73.73 kB / 0.658 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002904/0.7178, allocations: 151.6 kB / 0.6581 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.718, allocations: 99.64 kB / 0.6582 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/0.718, allocations: 16 kB / 0.6583 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003622/0.7184, allocations: 195.7 kB / 0.6584 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.483e-05/0.7185, allocations: 47.84 kB / 0.6585 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.7186, allocations: 99.56 kB / 0.6586 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004978/0.7191, allocations: 305.7 kB / 0.6589 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7191, allocations: 0 / 0.6589 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7191, allocations: 0 / 0.6589 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.7191, allocations: 0 / 0.6589 GB, free: 2.012 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001059/0.7202, allocations: 0.6097 MB / 0.6595 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.7202, allocations: 12.03 kB / 0.6595 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008646/0.7211, allocations: 87.66 kB / 0.6596 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004484/0.7216, allocations: 222.7 kB / 0.6598 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.7217, allocations: 45.64 kB / 0.6598 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.7217, allocations: 20 kB / 0.6598 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006506/0.7224, allocations: 285.8 kB / 0.6601 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.7224, allocations: 0 / 0.6601 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.7225, allocations: 4 kB / 0.6601 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.7225, allocations: 4 kB / 0.6601 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004777/0.723, allocations: 192.5 kB / 0.6603 GB, free: 416 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.7246, allocations: 1.173 MB / 0.6614 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008726/0.7255, allocations: 250.7 kB / 0.6617 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.7258, allocations: 116.7 kB / 0.6618 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.7258, allocations: 0 / 0.6618 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.7258, allocations: 38.55 kB / 0.6618 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.7258, allocations: 3.938 kB / 0.6618 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.00314/0.729, allocations: 0.7875 MB / 0.6626 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.7291, allocations: 85.11 kB / 0.6627 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.7292, allocations: 188.3 kB / 0.6629 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/0.7293, allocations: 33.7 kB / 0.6629 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.511e-05/0.7294, allocations: 132 kB / 0.663 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.412e-05/0.7295, allocations: 51.34 kB / 0.6631 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.7296, allocations: 49.69 kB / 0.6631 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.7297, allocations: 334.8 kB / 0.6634 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/0.73, allocations: 111.9 kB / 0.6635 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003333/0.7303, allocations: 166.7 kB / 0.6637 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007035/0.7311, allocations: 412.8 kB / 0.6641 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.7311, allocations: 0 / 0.6641 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001718/0.7328, allocations: 0.5817 MB / 0.6647 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.994e-05/0.7329, allocations: 97.09 kB / 0.6648 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.7329, allocations: 0 / 0.6648 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.734, allocations: 169.7 kB / 0.6649 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.7342, allocations: 31.97 kB / 0.665 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004287/0.7385, allocations: 3.354 MB / 0.6682 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.7388, allocations: 35.7 kB / 0.6683 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.7388, allocations: 23.92 kB / 0.6683 GB, free: 7.605 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (x_pTphi.found,x_pTphi.i_nw,x_pTphi.i_w,wetBulXi.iWat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 3 * 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.000215/0.7391, allocations: 155.5 kB / 0.6684 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.692e-05/0.7391, allocations: 27.73 kB / 0.6685 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.7407, allocations: 0.4934 MB / 0.6689 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.7408, allocations: 4 kB / 0.6689 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.7408, allocations: 3.938 kB / 0.6689 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.7408, allocations: 0 / 0.6689 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/0.7426, allocations: 0.798 MB / 0.6697 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.7426, allocations: 0 / 0.6697 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.7427, allocations: 23.98 kB / 0.6697 GB, free: 6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008698/0.7436, allocations: 157.5 kB / 0.6699 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.7436, allocations: 3.938 kB / 0.6699 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003855/0.7475, allocations: 3.399 MB / 0.6732 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7475, allocations: 0 / 0.6732 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.7491, allocations: 0.5569 MB / 0.6738 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.7492, allocations: 120.8 kB / 0.6739 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.7493, allocations: 8 kB / 0.6739 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.7496, allocations: 15.98 kB / 0.6739 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.632e-05/0.7497, allocations: 23.91 kB / 0.6739 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.7497, allocations: 8 kB / 0.6739 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001469/0.7499, allocations: 140.3 kB / 0.6741 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7499, allocations: 0 / 0.6741 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005275/0.7504, allocations: 87.91 kB / 0.6742 GB, free: 1.152 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.0003463/0.7508, allocations: 139.9 kB / 0.6743 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001496/0.7523, allocations: 0.7106 MB / 0.675 GB, free: 244 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.7523, allocations: 0 / 0.675 GB, free: 244 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008909/0.7532, allocations: 476.7 kB / 0.6754 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.7536, allocations: 63.97 kB / 0.6755 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.7549, allocations: 0.4952 MB / 0.676 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.7552, allocations: 0.7285 MB / 0.6767 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001177/0.7554, allocations: 21.55 kB / 0.6767 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.7554, allocations: 23.42 kB / 0.6767 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of SimCode: time 3.8e-07/0.7554, allocations: 0 / 0.6767 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of Templates: time 0.01268/0.7681, allocations: 6.278 MB / 0.6829 GB, free: 8.156 MB / 0.5294 GB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)