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.8139/0.8139, allocations: 150.9 MB / 166.1 MB, free: 14.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004746, allocations: 15.97 kB / 204.2 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1599, allocations: 31.33 MB / 235.5 MB, free: 5.418 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.554/1.714, allocations: 294.9 MB / 0.518 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02707/1.741, allocations: 24.25 MB / 0.5416 GB, free: 4.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003426/1.742, allocations: 7.938 kB / 0.5417 GB, free: 4.332 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.0005176/1.742, allocations: 192.1 kB / 0.5418 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003456/1.743, allocations: 198.5 kB / 0.542 GB, free: 3.949 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.01724/1.76, allocations: 6.648 MB / 0.5485 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008788/1.761, allocations: 0.8022 MB / 0.5493 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002992/1.761, allocations: 244.6 kB / 0.5495 GB, free: 12.28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003901/1.762, allocations: 327.7 kB / 0.5498 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/1.762, allocations: 250.7 kB / 0.5501 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.573e-05/1.762, allocations: 40.75 kB / 0.5501 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0226/1.784, allocations: 17.01 MB / 0.5667 GB, free: 10.65 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/1.785, allocations: 111.5 kB / 0.5668 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004133/1.785, allocations: 290.5 kB / 0.5671 GB, free: 10.26 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01199/1.797, allocations: 7.223 MB / 0.5742 GB, free: 3.02 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/1.797, allocations: 0 / 0.5742 GB, free: 3.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.536e-06/1.797, allocations: 0 / 0.5742 GB, free: 3.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/1.797, allocations: 3.938 kB / 0.5742 GB, free: 3.016 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.003508/1.801, allocations: 1.44 MB / 0.5756 GB, free: 1.527 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/1.801, allocations: 8.031 kB / 0.5756 GB, free: 1.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.747e-05/1.801, allocations: 64.09 kB / 0.5757 GB, free: 1.457 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/1.801, allocations: 300.9 kB / 0.5759 GB, free: 1.125 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/1.801, allocations: 59.27 kB / 0.576 GB, free: 1.062 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/1.801, allocations: 40.12 kB / 0.576 GB, free: 1.023 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008373/1.802, allocations: 0.6356 MB / 0.5767 GB, free: 360 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/1.802, allocations: 3.938 kB / 0.5767 GB, free: 356 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/1.802, allocations: 16 kB / 0.5767 GB, free: 340 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/1.802, allocations: 31.97 kB / 0.5767 GB, free: 308 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006638/1.803, allocations: 443 kB / 0.5771 GB, free: 15.87 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.03553/1.838, allocations: 19.42 MB / 0.5961 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005657/1.839, allocations: 349.4 kB / 0.5964 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000352/1.839, allocations: 270.7 kB / 0.5967 GB, free: 9.879 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08138/1.921, allocations: 41.28 MB / 0.637 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/1.921, allocations: 34.55 kB / 0.637 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 2.315e-06/1.921, allocations: 0 / 0.637 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=103): time 0.004416/1.925, allocations: 1.445 MB / 0.6384 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/1.925, allocations: 55.34 kB / 0.6385 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003534/1.926, allocations: 349.5 kB / 0.6388 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/1.926, allocations: 29.7 kB / 0.6389 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/1.926, allocations: 193.3 kB / 0.639 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/1.926, allocations: 334.9 kB / 0.6394 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/1.926, allocations: 97.58 kB / 0.6394 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001187/1.926, allocations: 366.8 kB / 0.6398 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/1.927, allocations: 196.9 kB / 0.64 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003765/1.927, allocations: 286.5 kB / 0.6403 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000739/1.928, allocations: 0.5511 MB / 0.6408 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.928, allocations: 7.938 kB / 0.6408 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001195/1.929, allocations: 0.7578 MB / 0.6415 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.929, allocations: 5.406 kB / 0.6415 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/1.929, allocations: 4.281 kB / 0.6416 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001978/1.931, allocations: 0.7194 MB / 0.6423 GB, free: 7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.564e-05/1.931, allocations: 11.92 kB / 0.6423 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/1.933, allocations: 1.054 MB / 0.6433 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/1.933, allocations: 67.25 kB / 0.6434 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/1.933, allocations: 23.98 kB / 0.6434 GB, free: 5.82 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.0001911/1.933, allocations: 172.4 kB / 0.6435 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.243e-05/1.933, allocations: 51.25 kB / 0.6436 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/1.935, allocations: 2.067 MB / 0.6456 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001334/1.937, allocations: 1.003 MB / 0.6466 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/1.937, allocations: 0 / 0.6466 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/1.937, allocations: 7.984 kB / 0.6466 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002908/1.94, allocations: 2.349 MB / 0.6489 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.94, allocations: 0 / 0.6489 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/1.94, allocations: 87.98 kB / 0.649 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006841/1.941, allocations: 492.9 kB / 0.6495 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/1.941, allocations: 20 kB / 0.6495 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/1.942, allocations: 1.12 MB / 0.6506 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/1.942, allocations: 0 / 0.6506 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/1.944, allocations: 1.129 MB / 0.6517 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/1.944, allocations: 203.9 kB / 0.6519 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.726e-05/1.944, allocations: 15.94 kB / 0.6519 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/1.944, allocations: 27.84 kB / 0.6519 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.14e-05/1.944, allocations: 57.88 kB / 0.652 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/1.944, allocations: 16 kB / 0.652 GB, free: 12.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002997/1.945, allocations: 319.1 kB / 0.6523 GB, free: 12.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/1.945, allocations: 0 / 0.6523 GB, free: 12.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002292/1.947, allocations: 0.9721 MB / 0.6532 GB, free: 11.51 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.003389/1.95, allocations: 1.153 MB / 0.6544 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002244/1.953, allocations: 1.032 MB / 0.6554 GB, free: 9.297 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.953, allocations: 0 / 0.6554 GB, free: 9.297 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/1.954, allocations: 0.4954 MB / 0.6558 GB, free: 8.797 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/1.955, allocations: 387.1 kB / 0.6562 GB, free: 8.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/1.957, allocations: 1.701 MB / 0.6579 GB, free: 6.707 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/1.958, allocations: 0.971 MB / 0.6588 GB, free: 5.707 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002428/1.958, allocations: 68.22 kB / 0.6589 GB, free: 5.641 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/1.958, allocations: 43.44 kB / 0.6589 GB, free: 5.598 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/1.958, allocations: 0 / 0.6589 GB, free: 5.598 MB / 0.545 GB Notification: Performance of Templates: time 0.2057/2.164, allocations: 44.13 MB / 0.702 GB, free: 226.1 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe 2>&1)