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.006977/0.006977, allocations: 95.31 kB / 15.73 MB, free: 6.051 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.001146/0.001147, allocations: 200.6 kB / 16.68 MB, free: 5.973 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.644/1.644, 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.2842/0.2842, allocations: 54.97 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.001718/0.001718, allocations: 75.89 kB / 456.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.165, allocations: 59.59 MB / 0.5037 GB, free: 7.086 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.004076/0.1691, allocations: 1.685 MB / 0.5053 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.5528/0.7219, allocations: 149.6 MB / 0.6515 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.7222, allocations: 7.938 kB / 0.6515 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.7224, allocations: 23.8 kB / 0.6515 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.7225, allocations: 27.78 kB / 0.6515 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007903/0.7233, allocations: 203.2 kB / 0.6517 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002871/0.7236, allocations: 163.5 kB / 0.6519 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.7238, allocations: 24 kB / 0.6519 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/0.724, allocations: 99.67 kB / 0.652 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.7242, allocations: 67.73 kB / 0.6521 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.419e-05/0.7243, allocations: 12 kB / 0.6521 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004207/0.7247, allocations: 175.8 kB / 0.6522 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.805e-05/0.7248, allocations: 27.91 kB / 0.6523 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.656e-05/0.7249, allocations: 51.78 kB / 0.6523 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005562/0.7255, allocations: 232.2 kB / 0.6525 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.7255, allocations: 4 kB / 0.6525 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.367e-06/0.7255, allocations: 7.938 kB / 0.6526 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.615e-06/0.7255, allocations: 0 / 0.6526 GB, free: 8.496 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.001466/0.727, allocations: 0.5176 MB / 0.6531 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.727, allocations: 8.031 kB / 0.6531 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00065/0.7277, allocations: 56.39 kB / 0.6531 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.728, allocations: 210.9 kB / 0.6533 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.728, allocations: 4 kB / 0.6533 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.728, allocations: 19.94 kB / 0.6533 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004916/0.7285, allocations: 205.2 kB / 0.6535 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.7285, allocations: 4 kB / 0.6535 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.7286, allocations: 4 kB / 0.6535 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.7286, allocations: 4 kB / 0.6536 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005854/0.7292, allocations: 183.7 kB / 0.6537 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.7304, allocations: 0.8324 MB / 0.6545 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004636/0.7309, allocations: 174.4 kB / 0.6547 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/0.7312, allocations: 112.7 kB / 0.6548 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.7312, allocations: 8 kB / 0.6548 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.7312, allocations: 34.56 kB / 0.6549 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.7312, allocations: 0 / 0.6549 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.002005/0.7332, allocations: 0.5345 MB / 0.6554 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.7333, allocations: 63.28 kB / 0.6554 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.7334, allocations: 141.8 kB / 0.6556 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.7335, allocations: 29.7 kB / 0.6556 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.7336, allocations: 112.6 kB / 0.6557 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.43e-05/0.7336, allocations: 31.73 kB / 0.6557 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.735e-05/0.7337, allocations: 41.69 kB / 0.6558 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.7339, allocations: 314.8 kB / 0.6561 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.7342, allocations: 115.9 kB / 0.6562 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003156/0.7346, allocations: 140.2 kB / 0.6563 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006788/0.7352, allocations: 304 kB / 0.6566 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7353, allocations: 0 / 0.6566 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001259/0.7365, allocations: 442.7 kB / 0.657 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.104e-05/0.7366, allocations: 63.34 kB / 0.6571 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.7366, allocations: 0 / 0.6571 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000607/0.7372, allocations: 96.88 kB / 0.6572 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.7375, allocations: 43.89 kB / 0.6572 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/0.7399, allocations: 1.763 MB / 0.6589 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.7401, allocations: 27.88 kB / 0.659 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/0.7402, allocations: 19.98 kB / 0.659 GB, free: 1.379 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.0001167/0.7403, allocations: 121.8 kB / 0.6591 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.7404, allocations: 11.95 kB / 0.6591 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.7415, allocations: 378.8 kB / 0.6595 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.7415, allocations: 0 / 0.6595 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.7415, allocations: 0 / 0.6595 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.7416, allocations: 7.984 kB / 0.6595 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.743, allocations: 0.6279 MB / 0.6601 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.743, allocations: 0 / 0.6601 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.7432, allocations: 35.95 kB / 0.6601 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004403/0.7436, allocations: 80.77 kB / 0.6602 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.7437, allocations: 12 kB / 0.6602 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002324/0.746, allocations: 1.787 MB / 0.662 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.746, allocations: 2.344 kB / 0.662 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.7472, allocations: 460.2 kB / 0.6624 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.7473, allocations: 89.05 kB / 0.6625 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.7473, allocations: 4 kB / 0.6625 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.7475, allocations: 15.98 kB / 0.6625 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.044e-05/0.7476, allocations: 11.92 kB / 0.6625 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.7477, allocations: 15.98 kB / 0.6625 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.885e-05/0.7478, allocations: 110.3 kB / 0.6626 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7478, allocations: 0 / 0.6626 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003734/0.7481, allocations: 55.92 kB / 0.6627 GB, free: 13.33 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.0003703/0.7485, allocations: 130.6 kB / 0.6628 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.75, allocations: 493.2 kB / 0.6633 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.75, allocations: 4 kB / 0.6633 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006069/0.7507, allocations: 258.5 kB / 0.6635 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.751, allocations: 29.55 kB / 0.6636 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009317/0.7519, allocations: 343.9 kB / 0.6639 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.7524, allocations: 0.7046 MB / 0.6646 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001485/0.7526, allocations: 32.56 kB / 0.6646 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.364e-05/0.7526, allocations: 15.44 kB / 0.6646 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of SimCode: time 7.32e-07/0.7526, allocations: 0 / 0.6646 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of Templates: time 0.008461/0.7611, allocations: 3.724 MB / 0.6683 GB, free: 7.574 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)