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.8376/0.8376, allocations: 150.9 MB / 167.1 MB, free: 14.26 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000318/0.000318, allocations: 19.98 kB / 205.9 MB, free: 8.945 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1284, allocations: 31.33 MB / 237.3 MB, free: 5.781 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.559/1.688, allocations: 296.1 MB / 0.5209 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02674/1.714, allocations: 24.03 MB / 0.5444 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003607/1.715, allocations: 4.531 kB / 0.5444 GB, free: 3.77 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.0005263/1.715, allocations: 214 kB / 0.5446 GB, free: 3.562 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004488/1.716, allocations: 259.4 kB / 0.5448 GB, free: 3.309 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01698/1.733, allocations: 7.432 MB / 0.5521 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009671/1.734, allocations: 0.8749 MB / 0.5529 GB, free: 11.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002969/1.734, allocations: 244.8 kB / 0.5532 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003701/1.734, allocations: 342.6 kB / 0.5535 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/1.735, allocations: 270.6 kB / 0.5537 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.033e-05/1.735, allocations: 36 kB / 0.5538 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02353/1.758, allocations: 16.09 MB / 0.5695 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001349/1.758, allocations: 103.5 kB / 0.5696 GB, free: 9.934 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004118/1.759, allocations: 318.3 kB / 0.5699 GB, free: 9.621 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01312/1.772, allocations: 7.075 MB / 0.5768 GB, free: 2.531 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/1.772, allocations: 0 / 0.5768 GB, free: 2.531 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.773e-06/1.772, allocations: 4 kB / 0.5768 GB, free: 2.527 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/1.772, allocations: 0 / 0.5768 GB, free: 2.527 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.003339/1.775, allocations: 1.475 MB / 0.5782 GB, free: 1.004 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/1.775, allocations: 16.02 kB / 0.5783 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.602e-05/1.776, allocations: 68 kB / 0.5783 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/1.776, allocations: 314.2 kB / 0.5786 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/1.776, allocations: 33.38 kB / 0.5787 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.758e-05/1.776, allocations: 40.38 kB / 0.5787 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009527/1.777, allocations: 0.7008 MB / 0.5794 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/1.777, allocations: 0 / 0.5794 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.966e-05/1.777, allocations: 20 kB / 0.5794 GB, free: 15.74 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-05/1.777, allocations: 35.97 kB / 0.5794 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008182/1.778, allocations: 453.1 kB / 0.5799 GB, free: 15.26 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.07168/1.85, allocations: 36.36 MB / 0.6154 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005745/1.85, allocations: 375.5 kB / 0.6157 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003093/1.851, allocations: 296.7 kB / 0.616 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07885/1.929, allocations: 36.63 MB / 0.6518 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/1.929, allocations: 46.42 kB / 0.6518 GB, free: 14.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=124): time 2.264e-06/1.929, allocations: 0 / 0.6518 GB, free: 14.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=124): time 0.002758/1.932, allocations: 1.2 MB / 0.653 GB, free: 13.26 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/1.932, allocations: 51.41 kB / 0.653 GB, free: 13.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003849/1.933, allocations: 332.4 kB / 0.6534 GB, free: 12.86 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/1.933, allocations: 33.64 kB / 0.6534 GB, free: 12.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/1.933, allocations: 213.3 kB / 0.6536 GB, free: 12.61 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002621/1.933, allocations: 401.9 kB / 0.654 GB, free: 12.21 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/1.933, allocations: 113.5 kB / 0.6541 GB, free: 12.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.933, allocations: 366.8 kB / 0.6544 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/1.934, allocations: 221.2 kB / 0.6547 GB, free: 11.51 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/1.934, allocations: 332.5 kB / 0.655 GB, free: 11.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007032/1.935, allocations: 0.6097 MB / 0.6556 GB, free: 10.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.935, allocations: 0 / 0.6556 GB, free: 10.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001075/1.936, allocations: 0.7844 MB / 0.6563 GB, free: 9.723 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/1.936, allocations: 4 kB / 0.6563 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/1.936, allocations: 7.984 kB / 0.6563 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001735/1.938, allocations: 338.3 kB / 0.6567 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.613e-05/1.938, allocations: 19.94 kB / 0.6567 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009938/1.939, allocations: 1.285 MB / 0.6579 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/1.939, allocations: 70.97 kB / 0.658 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/1.939, allocations: 20.06 kB / 0.658 GB, free: 7.93 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.0002266/1.939, allocations: 177.8 kB / 0.6582 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.198e-05/1.939, allocations: 55.19 kB / 0.6582 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003362/1.943, allocations: 4.015 MB / 0.6622 GB, free: 3.496 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001081/1.944, allocations: 0.8244 MB / 0.663 GB, free: 2.656 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.944, allocations: 0 / 0.663 GB, free: 2.656 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/1.944, allocations: 7.922 kB / 0.663 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002768/1.947, allocations: 2.142 MB / 0.6651 GB, free: 456 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.947, allocations: 0 / 0.6651 GB, free: 456 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/1.947, allocations: 95.84 kB / 0.6652 GB, free: 360 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007565/1.948, allocations: 242.9 kB / 0.6654 GB, free: 112 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/1.948, allocations: 12 kB / 0.6654 GB, free: 100 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009462/1.949, allocations: 1.333 MB / 0.6667 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.949, allocations: 0 / 0.6667 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/1.95, allocations: 0.974 MB / 0.6677 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/1.95, allocations: 188 kB / 0.6678 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.476e-05/1.95, allocations: 35.59 kB / 0.6679 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/1.95, allocations: 16 kB / 0.6679 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-05/1.951, allocations: 40.59 kB / 0.6679 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/1.951, allocations: 16 kB / 0.6679 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004919/1.951, allocations: 434.7 kB / 0.6684 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/1.951, allocations: 0 / 0.6684 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002384/1.954, allocations: 0.9916 MB / 0.6693 GB, free: 11.99 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.004239/1.958, allocations: 1.157 MB / 0.6705 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001348/1.959, allocations: 1.014 MB / 0.6714 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.959, allocations: 0 / 0.6714 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005923/1.96, allocations: 416.2 kB / 0.6718 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/1.962, allocations: 441.8 kB / 0.6723 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/1.964, allocations: 1.404 MB / 0.6736 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005517/1.964, allocations: 0.9868 MB / 0.6746 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002453/1.964, allocations: 76.52 kB / 0.6747 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.414e-05/1.964, allocations: 47.44 kB / 0.6747 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/1.965, allocations: 0 / 0.6747 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of Templates: time 0.1969/2.161, allocations: 44.86 MB / 0.7185 GB, free: 221 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 -s gbode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1)