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.008305/0.008305, allocations: 100.3 kB / 15.73 MB, free: 6.031 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.001773/0.001773, allocations: 194.5 kB / 16.67 MB, free: 5.969 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.564/1.564, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4196/0.4196, allocations: 54.94 MB / 324.8 MB, free: 20 kB / 254.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.001593/0.001593, allocations: 72.7 kB / 456.3 MB, free: 38.15 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1568, allocations: 59.59 MB / 0.5038 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003082/0.1599, allocations: 1.919 MB / 0.5056 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.5501/0.71, allocations: 155.4 MB / 0.6574 GB, free: 168 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003174/0.7105, allocations: 2.438 kB / 0.6574 GB, free: 168 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.7107, allocations: 25.64 kB / 0.6574 GB, free: 168 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.7109, allocations: 53.19 kB / 0.6574 GB, free: 164 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.7122, allocations: 274 kB / 0.6577 GB, free: 156 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003463/0.7126, allocations: 285.2 kB / 0.658 GB, free: 148 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.7128, allocations: 65.75 kB / 0.658 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000328/0.7132, allocations: 150.7 kB / 0.6582 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.7134, allocations: 99.45 kB / 0.6583 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.7134, allocations: 18.25 kB / 0.6583 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003644/0.7138, allocations: 192.4 kB / 0.6585 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.468e-05/0.7139, allocations: 47.12 kB / 0.6585 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.714, allocations: 94.47 kB / 0.6586 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004467/0.7144, allocations: 306.7 kB / 0.6589 GB, free: 120 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.7145, allocations: 0 / 0.6589 GB, free: 120 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.564e-06/0.7145, allocations: 4 kB / 0.6589 GB, free: 116 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.7145, allocations: 3.094 kB / 0.6589 GB, free: 116 kB / 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.001209/0.7157, allocations: 0.6064 MB / 0.6595 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.149e-05/0.7158, allocations: 11.92 kB / 0.6595 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009606/0.7167, allocations: 82.31 kB / 0.6596 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004309/0.7172, allocations: 228.8 kB / 0.6598 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.7173, allocations: 50.19 kB / 0.6599 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.46e-05/0.7174, allocations: 17.84 kB / 0.6599 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007007/0.7181, allocations: 287 kB / 0.6601 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.7181, allocations: 0.5 kB / 0.6601 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.585e-05/0.7181, allocations: 12.55 kB / 0.6602 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.7181, allocations: 4.094 kB / 0.6602 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000523/0.7187, allocations: 176.4 kB / 0.6603 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.7205, allocations: 1.171 MB / 0.6615 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.7215, allocations: 267.1 kB / 0.6617 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003183/0.7219, allocations: 108.5 kB / 0.6618 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.7219, allocations: 9.688 kB / 0.6618 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.7219, allocations: 32.12 kB / 0.6619 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.722, allocations: 0 / 0.6619 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.003287/0.7252, allocations: 0.7902 MB / 0.6626 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.7253, allocations: 84.27 kB / 0.6627 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.7256, allocations: 192.2 kB / 0.6629 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.7256, allocations: 31.83 kB / 0.6629 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.7257, allocations: 136.7 kB / 0.6631 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.294e-05/0.7258, allocations: 43.06 kB / 0.6631 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.7259, allocations: 56.44 kB / 0.6632 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.7261, allocations: 330.5 kB / 0.6635 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/0.7264, allocations: 117.9 kB / 0.6636 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/0.7268, allocations: 171.6 kB / 0.6638 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006795/0.7274, allocations: 404.2 kB / 0.6641 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.7275, allocations: 1.062 kB / 0.6641 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001777/0.7292, allocations: 0.5757 MB / 0.6647 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.36e-05/0.7294, allocations: 98.52 kB / 0.6648 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.7294, allocations: 8.281 kB / 0.6648 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.7305, allocations: 171.7 kB / 0.665 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.7307, allocations: 39.11 kB / 0.665 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004064/0.7347, allocations: 3.346 MB / 0.6683 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003488/0.7351, allocations: 37.19 kB / 0.6683 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/0.7352, allocations: 17.34 kB / 0.6683 GB, free: 9.93 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.0002154/0.7354, allocations: 163.2 kB / 0.6685 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.4e-05/0.7355, allocations: 20.41 kB / 0.6685 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/0.737, allocations: 0.4949 MB / 0.669 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.737, allocations: 5.516 kB / 0.669 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.737, allocations: 1.125 kB / 0.669 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.737, allocations: 0 / 0.669 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/0.7388, allocations: 0.7984 MB / 0.6698 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.7388, allocations: 0 / 0.6698 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.7389, allocations: 21.05 kB / 0.6698 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007926/0.7397, allocations: 153.8 kB / 0.6699 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.7398, allocations: 9.719 kB / 0.6699 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003798/0.7436, allocations: 3.399 MB / 0.6733 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.7436, allocations: 3.984 kB / 0.6733 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.7451, allocations: 0.5722 MB / 0.6738 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.7453, allocations: 114.3 kB / 0.6739 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.7453, allocations: 6.781 kB / 0.6739 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002923/0.7456, allocations: 17.03 kB / 0.674 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/0.7457, allocations: 25.19 kB / 0.674 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.7458, allocations: 7.328 kB / 0.674 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001224/0.7459, allocations: 138.1 kB / 0.6741 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.92e-07/0.7459, allocations: 0 / 0.6741 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005777/0.7465, allocations: 84.06 kB / 0.6742 GB, free: 6.098 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.0003524/0.7468, allocations: 139.2 kB / 0.6743 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001347/0.7482, allocations: 0.7102 MB / 0.675 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.7482, allocations: 0 / 0.675 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007995/0.749, allocations: 469.6 kB / 0.6755 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.7495, allocations: 71.66 kB / 0.6755 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.7507, allocations: 0.5013 MB / 0.676 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.751, allocations: 0.7296 MB / 0.6767 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00011/0.7511, allocations: 28.36 kB / 0.6768 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.7512, allocations: 20.75 kB / 0.6768 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of SimCode: time 8.02e-07/0.7512, allocations: 0 / 0.6768 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of Templates: time 0.01249/0.7637, allocations: 6.445 MB / 0.6831 GB, free: 3.883 MB / 0.5137 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)