Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7994/0.7994, allocations: 150.9 MB / 166 MB, free: 14.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003212, allocations: 15.98 kB / 204 MB, free: 10.12 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.146, allocations: 31.32 MB / 235.4 MB, free: 5.422 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser): time 1.529/1.676, allocations: 294.2 MB / 0.5172 GB, free: 12.31 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03096/1.707, allocations: 27.17 MB / 0.5437 GB, free: 1.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003/1.707, allocations: 8 kB / 0.5437 GB, free: 1.312 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:58:3-60:44:writable] Warning: Connector Ec is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:61:3-63:42:writable] Warning: Connector Ef is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:64:3-66:36:writable] Warning: Connector Sf is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:67:3-69:37:writable] Warning: Connector Sc is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004729/1.707, allocations: 163.7 kB / 0.5439 GB, free: 1.152 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003917/1.708, allocations: 226.3 kB / 0.5441 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01334/1.721, allocations: 5.386 MB / 0.5494 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000916/1.722, allocations: 0.8241 MB / 0.5502 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002905/1.722, allocations: 226.5 kB / 0.5504 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003376/1.723, allocations: 306.5 kB / 0.5507 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/1.723, allocations: 262.6 kB / 0.5509 GB, free: 9.941 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.003e-05/1.723, allocations: 27.94 kB / 0.5509 GB, free: 9.914 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02297/1.746, allocations: 15.9 MB / 0.5665 GB, free: 9.996 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/1.746, allocations: 83.58 kB / 0.5665 GB, free: 9.914 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004282/1.747, allocations: 322.2 kB / 0.5669 GB, free: 9.598 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01271/1.759, allocations: 7.071 MB / 0.5738 GB, free: 2.512 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/1.759, allocations: 0 / 0.5738 GB, free: 2.512 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.022e-06/1.759, allocations: 0 / 0.5738 GB, free: 2.512 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.365e-05/1.759, allocations: 4 kB / 0.5738 GB, free: 2.508 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.003529/1.763, allocations: 1.485 MB / 0.5752 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/1.763, allocations: 8.031 kB / 0.5752 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/1.763, allocations: 68 kB / 0.5753 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/1.763, allocations: 314.2 kB / 0.5756 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/1.763, allocations: 33.38 kB / 0.5756 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/1.763, allocations: 44.38 kB / 0.5757 GB, free: 492 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008385/1.764, allocations: 0.6852 MB / 0.5763 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/1.764, allocations: 4 kB / 0.5763 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/1.764, allocations: 16 kB / 0.5764 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.493e-05/1.764, allocations: 39.95 kB / 0.5764 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005863/1.765, allocations: 451.6 kB / 0.5768 GB, free: 15.25 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06988/1.835, allocations: 36.16 MB / 0.6121 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000628/1.836, allocations: 368.7 kB / 0.6125 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/1.836, allocations: 298.8 kB / 0.6128 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07731/1.913, allocations: 36.35 MB / 0.6483 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/1.913, allocations: 30.56 kB / 0.6483 GB, free: 15 MB / 0.545 GB Notification: Performance of pre-optimization done (n=124): time 2.164e-06/1.913, allocations: 0 / 0.6483 GB, free: 15 MB / 0.545 GB Notification: Performance of matching and sorting (n=124): time 0.002315/1.916, allocations: 1.203 MB / 0.6495 GB, free: 13.74 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/1.916, allocations: 51.41 kB / 0.6495 GB, free: 13.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003558/1.916, allocations: 328.4 kB / 0.6498 GB, free: 13.36 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/1.916, allocations: 29.7 kB / 0.6499 GB, free: 13.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/1.916, allocations: 217.3 kB / 0.6501 GB, free: 13.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/1.916, allocations: 397.9 kB / 0.6504 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/1.917, allocations: 113.6 kB / 0.6506 GB, free: 12.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.917, allocations: 374.7 kB / 0.6509 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/1.917, allocations: 221.2 kB / 0.6511 GB, free: 12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003687/1.917, allocations: 327.5 kB / 0.6514 GB, free: 11.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007273/1.918, allocations: 0.6175 MB / 0.652 GB, free: 11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/1.918, allocations: 4 kB / 0.652 GB, free: 11 MB / 0.545 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001115/1.919, allocations: 0.7821 MB / 0.6528 GB, free: 10.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/1.919, allocations: 5.562 kB / 0.6528 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/1.919, allocations: 4 kB / 0.6528 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001817/1.921, allocations: 338.7 kB / 0.6531 GB, free: 9.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.487e-05/1.921, allocations: 23.92 kB / 0.6532 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/1.922, allocations: 1.279 MB / 0.6544 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/1.923, allocations: 82.84 kB / 0.6545 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/1.923, allocations: 16 kB / 0.6545 GB, free: 8.414 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (sinkP1.C.a,sinkP.C.a,sourceP1.C.b,sourceP.C.b,simpleStaticCondenser.Sc.b,simpleStaticCondenser.Sf.b,simpleStaticCondenser.Ef.a,simpleStaticCondenser.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 {(3,3), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002104/1.923, allocations: 173.8 kB / 0.6547 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.154e-05/1.923, allocations: 55.19 kB / 0.6547 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003451/1.926, allocations: 4.033 MB / 0.6587 GB, free: 3.969 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001125/1.928, allocations: 0.8196 MB / 0.6595 GB, free: 3.133 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/1.928, allocations: 0 / 0.6595 GB, free: 3.133 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/1.928, allocations: 11.92 kB / 0.6595 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00287/1.93, allocations: 2.183 MB / 0.6616 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/1.93, allocations: 0 / 0.6616 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/1.931, allocations: 87.91 kB / 0.6617 GB, free: 0.793 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001128/1.932, allocations: 286.4 kB / 0.662 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/1.932, allocations: 12 kB / 0.662 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/1.933, allocations: 1.338 MB / 0.6633 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.933, allocations: 64 / 0.6633 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/1.934, allocations: 0.9727 MB / 0.6642 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/1.934, allocations: 188 kB / 0.6644 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.64e-05/1.935, allocations: 35.69 kB / 0.6644 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/1.935, allocations: 15.91 kB / 0.6645 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/1.935, allocations: 44.53 kB / 0.6645 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/1.935, allocations: 23.98 kB / 0.6645 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004632/1.935, allocations: 422.8 kB / 0.6649 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.8e-07/1.935, allocations: 0 / 0.6649 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002541/1.938, allocations: 0.9916 MB / 0.6659 GB, free: 12.38 MB / 0.5606 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 (67): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(3,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004263/1.942, allocations: 1.161 MB / 0.667 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001307/1.944, allocations: 1.002 MB / 0.668 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.944, allocations: 0 / 0.668 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005982/1.944, allocations: 400.2 kB / 0.6684 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/1.946, allocations: 430.4 kB / 0.6688 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/1.948, allocations: 1.733 MB / 0.6705 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005203/1.949, allocations: 0.9907 MB / 0.6715 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003094/1.949, allocations: 76.52 kB / 0.6715 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.192e-05/1.949, allocations: 47.44 kB / 0.6716 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/1.949, allocations: 0 / 0.6716 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of Templates: time 0.1996/2.149, allocations: 44.05 MB / 0.7146 GB, free: 221.8 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1)