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.8048/0.8048, allocations: 150.9 MB / 166.1 MB, free: 14.6 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.0003514, allocations: 11.98 kB / 204.2 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1524, allocations: 31.32 MB / 235.5 MB, free: 5.438 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.682/1.835, allocations: 295.2 MB / 0.5183 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0273/1.862, allocations: 24.49 MB / 0.5422 GB, free: 3.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003897/1.862, allocations: 8 kB / 0.5422 GB, free: 3.742 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.0005208/1.863, allocations: 172.7 kB / 0.5423 GB, free: 3.574 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004737/1.863, allocations: 223.6 kB / 0.5426 GB, free: 3.355 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.01661/1.88, allocations: 6.493 MB / 0.5489 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001121/1.881, allocations: 0.8788 MB / 0.5498 GB, free: 12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003268/1.881, allocations: 234.2 kB / 0.55 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004396/1.882, allocations: 356.5 kB / 0.5503 GB, free: 11.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/1.882, allocations: 266.6 kB / 0.5506 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.537e-05/1.882, allocations: 36 kB / 0.5506 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02345/1.906, allocations: 15.93 MB / 0.5662 GB, free: 11.19 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001635/1.906, allocations: 103.5 kB / 0.5663 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004122/1.906, allocations: 331.2 kB / 0.5666 GB, free: 10.76 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01367/1.92, allocations: 7.09 MB / 0.5735 GB, free: 3.656 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.92, allocations: 3.938 kB / 0.5735 GB, free: 3.652 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.799e-06/1.92, allocations: 4.797 kB / 0.5735 GB, free: 3.648 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/1.92, allocations: 3.938 kB / 0.5735 GB, free: 3.645 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.003603/1.924, allocations: 1.479 MB / 0.575 GB, free: 2.117 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/1.924, allocations: 8.031 kB / 0.575 GB, free: 2.109 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.048e-05/1.924, allocations: 68 kB / 0.575 GB, free: 2.043 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/1.924, allocations: 318.1 kB / 0.5753 GB, free: 1.695 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/1.924, allocations: 29.38 kB / 0.5754 GB, free: 1.668 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/1.924, allocations: 44.38 kB / 0.5754 GB, free: 1.625 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008303/1.925, allocations: 0.6931 MB / 0.5761 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/1.925, allocations: 7.938 kB / 0.5761 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.171e-05/1.925, allocations: 16 kB / 0.5761 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/1.925, allocations: 31.97 kB / 0.5761 GB, free: 0.832 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005549/1.926, allocations: 463.6 kB / 0.5766 GB, free: 388 kB / 462.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.06887/1.994, allocations: 36.14 MB / 0.6119 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000606/1.995, allocations: 372.5 kB / 0.6122 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003234/1.995, allocations: 294.8 kB / 0.6125 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0761/2.072, allocations: 36.35 MB / 0.648 GB, free: 180 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/2.072, allocations: 38.56 kB / 0.648 GB, free: 132 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=124): time 2.164e-06/2.072, allocations: 4 kB / 0.6481 GB, free: 128 kB / 0.5294 GB Notification: Performance of matching and sorting (n=124): time 0.002202/2.074, allocations: 1.203 MB / 0.6492 GB, free: 14.87 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/2.074, allocations: 51.41 kB / 0.6493 GB, free: 14.81 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003354/2.074, allocations: 324.5 kB / 0.6496 GB, free: 14.49 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/2.074, allocations: 33.7 kB / 0.6496 GB, free: 14.45 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/2.074, allocations: 213.3 kB / 0.6498 GB, free: 14.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/2.075, allocations: 401.8 kB / 0.6502 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/2.075, allocations: 121.5 kB / 0.6503 GB, free: 13.71 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001345/2.075, allocations: 370.8 kB / 0.6507 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/2.075, allocations: 217.2 kB / 0.6509 GB, free: 13.13 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/2.076, allocations: 328.5 kB / 0.6512 GB, free: 12.78 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006822/2.076, allocations: 0.6175 MB / 0.6518 GB, free: 12.13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/2.076, allocations: 0 / 0.6518 GB, free: 12.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001027/2.077, allocations: 0.7805 MB / 0.6526 GB, free: 11.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/2.077, allocations: 8 kB / 0.6526 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/2.077, allocations: 4 kB / 0.6526 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001717/2.079, allocations: 337.4 kB / 0.6529 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.052e-05/2.079, allocations: 12 kB / 0.6529 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009789/2.08, allocations: 1.296 MB / 0.6542 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/2.08, allocations: 75.03 kB / 0.6542 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/2.08, allocations: 16 kB / 0.6543 GB, free: 9.547 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.0001884/2.081, allocations: 179.8 kB / 0.6544 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-05/2.081, allocations: 55.19 kB / 0.6545 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003289/2.084, allocations: 4.027 MB / 0.6584 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001015/2.085, allocations: 0.8196 MB / 0.6592 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/2.085, allocations: 0 / 0.6592 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/2.085, allocations: 7.922 kB / 0.6592 GB, free: 4.258 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002607/2.088, allocations: 2.188 MB / 0.6614 GB, free: 2.012 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/2.088, allocations: 4 kB / 0.6614 GB, free: 2.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/2.088, allocations: 91.84 kB / 0.6614 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007534/2.089, allocations: 242.6 kB / 0.6617 GB, free: 1.676 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/2.089, allocations: 12 kB / 0.6617 GB, free: 1.664 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009666/2.09, allocations: 1.332 MB / 0.663 GB, free: 288 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/2.09, allocations: 0 / 0.663 GB, free: 288 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/2.091, allocations: 0.9689 MB / 0.6639 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/2.091, allocations: 188 kB / 0.6641 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.872e-05/2.091, allocations: 35.59 kB / 0.6642 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/2.091, allocations: 19.94 kB / 0.6642 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/2.092, allocations: 50.17 kB / 0.6642 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/2.092, allocations: 20 kB / 0.6642 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004364/2.092, allocations: 418.8 kB / 0.6646 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/2.092, allocations: 0 / 0.6646 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002366/2.094, allocations: 0.9955 MB / 0.6656 GB, free: 13.55 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.003481/2.098, allocations: 1.171 MB / 0.6668 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001778/2.1, allocations: 1.026 MB / 0.6678 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/2.1, allocations: 4.5 kB / 0.6678 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005474/2.1, allocations: 408.2 kB / 0.6681 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/2.102, allocations: 441.1 kB / 0.6686 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/2.104, allocations: 1.736 MB / 0.6703 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/2.105, allocations: 0.9868 MB / 0.6712 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002857/2.105, allocations: 80.52 kB / 0.6713 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.907e-05/2.105, allocations: 47.44 kB / 0.6713 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/2.105, allocations: 0 / 0.6713 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of Templates: time 0.1984/2.304, allocations: 44.87 MB / 0.7152 GB, free: 222 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)