Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.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.TestStaticWaterWaterExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8094/0.8094, allocations: 150.9 MB / 167.1 MB, free: 14.42 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.000353, allocations: 11.98 kB / 206 MB, free: 9.062 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1316, allocations: 31.33 MB / 237.3 MB, free: 5.715 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.TestStaticWaterWaterExchangerDTorWorEff): time 1.558/1.69, allocations: 295.8 MB / 0.5206 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02753/1.717, allocations: 23.75 MB / 0.5438 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003224/1.718, allocations: 4 kB / 0.5438 GB, free: 4.074 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25:52: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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25:52: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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:69:3-71:37: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/StaticWaterWaterExchangerDTorWorEff.mo:72:3-74: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/StaticWaterWaterExchangerDTorWorEff.mo:75:3-77:37: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/StaticWaterWaterExchangerDTorWorEff.mo:78:3-80:36:writable] Warning: Connector Sc 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.0005516/1.718, allocations: 229.7 kB / 0.544 GB, free: 3.852 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004305/1.719, allocations: 228.5 kB / 0.5442 GB, free: 3.629 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.01771/1.737, allocations: 7.617 MB / 0.5517 GB, free: 12.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009904/1.738, allocations: 0.8061 MB / 0.5524 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002998/1.738, allocations: 241.7 kB / 0.5527 GB, free: 10.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003558/1.738, allocations: 324 kB / 0.553 GB, free: 10.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/1.738, allocations: 258.7 kB / 0.5532 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.674e-05/1.739, allocations: 36 kB / 0.5533 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02511/1.764, allocations: 17.16 MB / 0.57 GB, free: 9.207 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001652/1.764, allocations: 99.56 kB / 0.5701 GB, free: 9.109 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000447/1.764, allocations: 302.4 kB / 0.5704 GB, free: 8.812 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01194/1.776, allocations: 7.196 MB / 0.5774 GB, free: 1.602 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.776, allocations: 0 / 0.5774 GB, free: 1.602 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.793e-06/1.776, allocations: 0 / 0.5774 GB, free: 1.602 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/1.776, allocations: 0 / 0.5774 GB, free: 1.602 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.003286/1.78, allocations: 1.447 MB / 0.5788 GB, free: 108 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/1.78, allocations: 8.031 kB / 0.5789 GB, free: 100 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/1.78, allocations: 64.09 kB / 0.5789 GB, free: 36 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/1.78, allocations: 299.9 kB / 0.5792 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/1.78, allocations: 67.19 kB / 0.5793 GB, free: 15.63 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.357e-05/1.78, allocations: 40.12 kB / 0.5793 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008465/1.781, allocations: 0.6343 MB / 0.5799 GB, free: 14.92 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/1.781, allocations: 3.938 kB / 0.5799 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/1.781, allocations: 16 kB / 0.5799 GB, free: 14.9 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.06e-05/1.781, allocations: 37.7 kB / 0.58 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007066/1.782, allocations: 443 kB / 0.5804 GB, free: 14.43 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.03736/1.819, allocations: 19.52 MB / 0.5995 GB, free: 8.957 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005912/1.82, allocations: 347.9 kB / 0.5998 GB, free: 8.609 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003803/1.82, allocations: 274.7 kB / 0.6001 GB, free: 8.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08589/1.906, allocations: 41.56 MB / 0.6406 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/1.906, allocations: 34.56 kB / 0.6407 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 2.224e-06/1.906, allocations: 0 / 0.6407 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=103): time 0.004274/1.911, allocations: 1.444 MB / 0.6421 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/1.911, allocations: 59.41 kB / 0.6421 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003914/1.911, allocations: 345.5 kB / 0.6425 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/1.911, allocations: 33.64 kB / 0.6425 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/1.911, allocations: 201.3 kB / 0.6427 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001975/1.911, allocations: 330.9 kB / 0.643 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/1.912, allocations: 97.56 kB / 0.6431 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.912, allocations: 366.8 kB / 0.6435 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/1.912, allocations: 196.9 kB / 0.6436 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/1.912, allocations: 286.5 kB / 0.6439 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007833/1.913, allocations: 0.555 MB / 0.6445 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/1.913, allocations: 4 kB / 0.6445 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001237/1.915, allocations: 0.7541 MB / 0.6452 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/1.915, allocations: 12.03 kB / 0.6452 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.915, allocations: 0 / 0.6452 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002029/1.917, allocations: 0.7146 MB / 0.6459 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.89e-05/1.917, allocations: 11.94 kB / 0.6459 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/1.918, allocations: 1.05 MB / 0.6469 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/1.919, allocations: 71.11 kB / 0.647 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/1.919, allocations: 16 kB / 0.647 GB, free: 4.004 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 (exchangerWaterSteamDTorWorEFF.Sc.b,exchangerWaterSteamDTorWorEFF.Sf.b,exchangerWaterSteamDTorWorEFF.Ef.a,exchangerWaterSteamDTorWorEFF.Ec.a,sinkWaterSteam_FC.C.a,sourceWaterSteam_FC.C.b,sinkWaterSteam_FF.C.a,sourceWaterSteam_FF.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(5,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001843/1.919, allocations: 165.7 kB / 0.6472 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.834e-05/1.919, allocations: 60.36 kB / 0.6472 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/1.921, allocations: 2.056 MB / 0.6492 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001408/1.923, allocations: 1.011 MB / 0.6502 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.923, allocations: 4 kB / 0.6502 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/1.923, allocations: 3.984 kB / 0.6502 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003008/1.926, allocations: 2.302 MB / 0.6525 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.926, allocations: 0 / 0.6525 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/1.926, allocations: 99.83 kB / 0.6526 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000712/1.927, allocations: 493.4 kB / 0.6531 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/1.927, allocations: 16 kB / 0.6531 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/1.928, allocations: 1.116 MB / 0.6542 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.928, allocations: 4 kB / 0.6542 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/1.93, allocations: 1.121 MB / 0.6553 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002013/1.93, allocations: 199.9 kB / 0.6555 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.801e-05/1.93, allocations: 19.94 kB / 0.6555 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/1.93, allocations: 23.98 kB / 0.6555 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.233e-05/1.93, allocations: 52.58 kB / 0.6555 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/1.93, allocations: 17.88 kB / 0.6556 GB, free: 11.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003205/1.931, allocations: 319.1 kB / 0.6559 GB, free: 10.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/1.931, allocations: 0 / 0.6559 GB, free: 10.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002159/1.933, allocations: 0.9682 MB / 0.6568 GB, free: 9.758 MB / 0.545 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 (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(5,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00322/1.936, allocations: 1.151 MB / 0.6579 GB, free: 8.609 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001693/1.938, allocations: 1.009 MB / 0.6589 GB, free: 7.566 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.938, allocations: 8 kB / 0.6589 GB, free: 7.559 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009864/1.939, allocations: 0.491 MB / 0.6594 GB, free: 7.066 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/1.94, allocations: 392.6 kB / 0.6598 GB, free: 6.695 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/1.942, allocations: 1.382 MB / 0.6611 GB, free: 5.289 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/1.943, allocations: 0.9671 MB / 0.6621 GB, free: 4.293 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001989/1.943, allocations: 68.23 kB / 0.6621 GB, free: 4.227 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.099e-05/1.943, allocations: 47.44 kB / 0.6622 GB, free: 4.18 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/1.943, allocations: 0 / 0.6622 GB, free: 4.18 MB / 0.545 GB Notification: Performance of Templates: time 0.1954/2.138, allocations: 44.17 MB / 0.7053 GB, free: 224.3 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe 2>&1)