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.7438/0.7438, allocations: 150.9 MB / 167.2 MB, free: 14.53 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002977, allocations: 20.52 kB / 237.8 MB, free: 1.762 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04643/0.04673, allocations: 31.35 MB / 269.1 MB, free: 7.027 MB / 222.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.475/1.521, allocations: 296 MB / 0.5519 GB, free: 11.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02455/1.546, allocations: 23.74 MB / 0.5751 GB, free: 3.914 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/1.546, allocations: 4 kB / 0.5751 GB, free: 3.91 MB / 462.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.0004752/1.547, allocations: 235.5 kB / 0.5753 GB, free: 3.68 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003201/1.547, allocations: 226.1 kB / 0.5755 GB, free: 3.457 MB / 462.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.0156/1.563, allocations: 7.614 MB / 0.5829 GB, free: 11.84 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008075/1.563, allocations: 0.8061 MB / 0.5837 GB, free: 11.03 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00033/1.564, allocations: 248.8 kB / 0.584 GB, free: 10.78 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004251/1.564, allocations: 326.6 kB / 0.5843 GB, free: 10.46 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003196/1.565, allocations: 254.7 kB / 0.5845 GB, free: 10.21 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.469e-05/1.565, allocations: 40 kB / 0.5846 GB, free: 10.17 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02419/1.589, allocations: 17.15 MB / 0.6013 GB, free: 9 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/1.589, allocations: 103.5 kB / 0.6014 GB, free: 8.898 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003396/1.589, allocations: 290.5 kB / 0.6017 GB, free: 8.613 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01091/1.6, allocations: 7.2 MB / 0.6087 GB, free: 1.398 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.6, allocations: 0 / 0.6087 GB, free: 1.398 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/1.6, allocations: 4 kB / 0.6087 GB, free: 1.395 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.166e-05/1.6, allocations: 0 / 0.6087 GB, free: 1.395 MB / 494.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.003612/1.604, allocations: 1.435 MB / 0.6101 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/1.604, allocations: 15.88 kB / 0.6101 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/1.604, allocations: 60.19 kB / 0.6102 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/1.604, allocations: 308.6 kB / 0.6105 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/1.604, allocations: 67.27 kB / 0.6106 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.937e-05/1.605, allocations: 44.11 kB / 0.6106 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008243/1.605, allocations: 0.6289 MB / 0.6112 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/1.605, allocations: 7.922 kB / 0.6112 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.25e-05/1.605, allocations: 16 kB / 0.6112 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.129e-05/1.605, allocations: 31.97 kB / 0.6113 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006596/1.606, allocations: 439 kB / 0.6117 GB, free: 14.23 MB / 0.4981 GB 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.03707/1.643, allocations: 19.53 MB / 0.6308 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000553/1.644, allocations: 350.7 kB / 0.6311 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000377/1.644, allocations: 274.7 kB / 0.6314 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08613/1.73, allocations: 41.55 MB / 0.6719 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/1.73, allocations: 34.56 kB / 0.672 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=103): time 2.205e-06/1.73, allocations: 4 kB / 0.672 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=103): time 0.004215/1.735, allocations: 1.44 MB / 0.6734 GB, free: 9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/1.735, allocations: 59.34 kB / 0.6734 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003435/1.735, allocations: 341.5 kB / 0.6738 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/1.735, allocations: 33.7 kB / 0.6738 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/1.735, allocations: 201.3 kB / 0.674 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/1.735, allocations: 334.8 kB / 0.6743 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/1.735, allocations: 97.66 kB / 0.6744 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.736, allocations: 362.8 kB / 0.6747 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003233/1.736, allocations: 192.9 kB / 0.6749 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/1.736, allocations: 294.4 kB / 0.6752 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000735/1.737, allocations: 0.5433 MB / 0.6757 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/1.737, allocations: 4 kB / 0.6757 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001178/1.738, allocations: 0.7617 MB / 0.6765 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.738, allocations: 11.94 kB / 0.6765 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.738, allocations: 0 / 0.6765 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00197/1.74, allocations: 0.7226 MB / 0.6772 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.239e-05/1.74, allocations: 19.94 kB / 0.6772 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/1.742, allocations: 1.046 MB / 0.6782 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/1.742, allocations: 71.08 kB / 0.6783 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/1.742, allocations: 16 kB / 0.6783 GB, free: 3.781 MB / 0.5606 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.0001913/1.742, allocations: 178.2 kB / 0.6785 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.133e-05/1.743, allocations: 47.34 kB / 0.6785 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/1.745, allocations: 2.059 MB / 0.6805 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001325/1.746, allocations: 1.007 MB / 0.6815 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.746, allocations: 0 / 0.6815 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/1.746, allocations: 7.984 kB / 0.6815 GB, free: 396 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/1.749, allocations: 2.303 MB / 0.6838 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.749, allocations: 0 / 0.6838 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/1.749, allocations: 91.91 kB / 0.6839 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006794/1.75, allocations: 496 kB / 0.6843 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/1.75, allocations: 16 kB / 0.6844 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/1.751, allocations: 1.108 MB / 0.6854 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.751, allocations: 4 kB / 0.6855 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/1.753, allocations: 1.132 MB / 0.6866 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/1.753, allocations: 195.9 kB / 0.6867 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.593e-05/1.753, allocations: 27.84 kB / 0.6868 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/1.753, allocations: 12 kB / 0.6868 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.15e-05/1.753, allocations: 52.58 kB / 0.6868 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/1.754, allocations: 20 kB / 0.6869 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003077/1.754, allocations: 319.1 kB / 0.6872 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.372e-06/1.754, allocations: 0 / 0.6872 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002168/1.756, allocations: 0.9799 MB / 0.6881 GB, free: 9.527 MB / 0.5762 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.003786/1.76, allocations: 1.155 MB / 0.6892 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001687/1.762, allocations: 0.9961 MB / 0.6902 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.762, allocations: 3.938 kB / 0.6902 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009978/1.763, allocations: 0.4914 MB / 0.6907 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/1.764, allocations: 390.7 kB / 0.6911 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/1.766, allocations: 1.437 MB / 0.6925 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/1.767, allocations: 0.9748 MB / 0.6934 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.115e-05/1.767, allocations: 47.44 kB / 0.6935 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/1.767, allocations: 0 / 0.6935 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of Templates: time 0.1876/1.954, allocations: 26.78 MB / 0.7196 GB, free: 213.5 MB / 0.5919 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe 2>&1)