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.84/0.84, allocations: 150.9 MB / 166.5 MB, free: 14.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005196/0.0005196, allocations: 17.91 kB / 237.1 MB, free: 1.723 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07639/0.07694, allocations: 31.35 MB / 268.4 MB, free: 7.047 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.671/1.748, allocations: 296 MB / 0.5512 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02901/1.777, allocations: 23.75 MB / 0.5744 GB, free: 3.867 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003131/1.777, allocations: 4 kB / 0.5744 GB, free: 3.863 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.0005768/1.778, allocations: 219.6 kB / 0.5746 GB, free: 3.648 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004015/1.778, allocations: 242.1 kB / 0.5748 GB, free: 3.41 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.01915/1.798, allocations: 7.615 MB / 0.5823 GB, free: 11.79 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009936/1.799, allocations: 0.8099 MB / 0.5831 GB, free: 10.98 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000338/1.799, allocations: 244.8 kB / 0.5833 GB, free: 10.73 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004012/1.799, allocations: 322.7 kB / 0.5836 GB, free: 10.42 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003019/1.8, allocations: 258.7 kB / 0.5839 GB, free: 10.16 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.353e-05/1.8, allocations: 36 kB / 0.5839 GB, free: 10.13 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02702/1.827, allocations: 17.15 MB / 0.6006 GB, free: 8.957 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/1.827, allocations: 107.5 kB / 0.6008 GB, free: 8.852 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003905/1.827, allocations: 294.5 kB / 0.601 GB, free: 8.562 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01217/1.84, allocations: 7.192 MB / 0.6081 GB, free: 1.355 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/1.84, allocations: 0 / 0.6081 GB, free: 1.355 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.124e-06/1.84, allocations: 0 / 0.6081 GB, free: 1.355 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/1.84, allocations: 0 / 0.6081 GB, free: 1.355 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.003382/1.843, allocations: 1.443 MB / 0.6095 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/1.843, allocations: 11.89 kB / 0.6095 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/1.843, allocations: 64.19 kB / 0.6095 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/1.843, allocations: 308.6 kB / 0.6098 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/1.844, allocations: 63.25 kB / 0.6099 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-05/1.844, allocations: 48.12 kB / 0.6099 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008943/1.845, allocations: 0.6405 MB / 0.6106 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/1.845, allocations: 0 / 0.6106 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/1.845, allocations: 16 kB / 0.6106 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.068e-05/1.845, allocations: 35.97 kB / 0.6106 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007102/1.845, allocations: 439 kB / 0.611 GB, free: 14.17 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.04094/1.886, allocations: 19.52 MB / 0.6301 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000583/1.887, allocations: 355.8 kB / 0.6304 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003918/1.887, allocations: 270.7 kB / 0.6307 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0956/1.983, allocations: 41.55 MB / 0.6713 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/1.983, allocations: 38.56 kB / 0.6713 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=103): time 2.164e-06/1.983, allocations: 0 / 0.6713 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=103): time 0.004677/1.988, allocations: 1.447 MB / 0.6727 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/1.988, allocations: 55.41 kB / 0.6728 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003739/1.988, allocations: 341.5 kB / 0.6731 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/1.988, allocations: 25.7 kB / 0.6731 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/1.988, allocations: 201.3 kB / 0.6733 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/1.989, allocations: 334.8 kB / 0.6736 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/1.989, allocations: 97.66 kB / 0.6737 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.989, allocations: 366.8 kB / 0.6741 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/1.989, allocations: 192.9 kB / 0.6743 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/1.99, allocations: 298.4 kB / 0.6745 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008278/1.99, allocations: 0.5433 MB / 0.6751 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/1.99, allocations: 8 kB / 0.6751 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001291/1.992, allocations: 0.7617 MB / 0.6758 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/1.992, allocations: 8 kB / 0.6758 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/1.992, allocations: 3.938 kB / 0.6758 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002147/1.994, allocations: 0.7265 MB / 0.6765 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.322e-05/1.994, allocations: 8 kB / 0.6766 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/1.996, allocations: 1.046 MB / 0.6776 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/1.996, allocations: 71.08 kB / 0.6776 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/1.996, allocations: 19.98 kB / 0.6777 GB, free: 3.734 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.0001935/1.996, allocations: 170.8 kB / 0.6778 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.835e-05/1.996, allocations: 47.34 kB / 0.6779 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/1.999, allocations: 2.063 MB / 0.6799 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001481/2, allocations: 1.007 MB / 0.6809 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/2, allocations: 4 kB / 0.6809 GB, free: 356 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/2, allocations: 3.984 kB / 0.6809 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003236/2.004, allocations: 2.303 MB / 0.6831 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/2.004, allocations: 0 / 0.6831 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/2.004, allocations: 95.84 kB / 0.6832 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000764/2.005, allocations: 492 kB / 0.6837 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.25e-05/2.005, allocations: 19.92 kB / 0.6837 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/2.006, allocations: 1.116 MB / 0.6848 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/2.006, allocations: 3.984 kB / 0.6848 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/2.008, allocations: 1.125 MB / 0.6859 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/2.008, allocations: 199.9 kB / 0.6861 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.031e-05/2.008, allocations: 23.84 kB / 0.6861 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/2.009, allocations: 19.98 kB / 0.6861 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.509e-05/2.009, allocations: 48.59 kB / 0.6862 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/2.009, allocations: 19.98 kB / 0.6862 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00034/2.009, allocations: 319.1 kB / 0.6865 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.31e-07/2.009, allocations: 4 kB / 0.6865 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002346/2.011, allocations: 0.9682 MB / 0.6874 GB, free: 9.484 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.004042/2.015, allocations: 1.159 MB / 0.6886 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001852/2.017, allocations: 0.9961 MB / 0.6896 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/2.017, allocations: 0 / 0.6896 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/2.018, allocations: 0.4953 MB / 0.69 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/2.02, allocations: 396 kB / 0.6904 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/2.022, allocations: 1.375 MB / 0.6918 GB, free: 5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/2.023, allocations: 0.9748 MB / 0.6927 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002221/2.023, allocations: 64.23 kB / 0.6928 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7e-05/2.023, allocations: 51.44 kB / 0.6928 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/2.023, allocations: 3.938 kB / 0.6928 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of Templates: time 0.2232/2.246, allocations: 44.47 MB / 0.7362 GB, free: 208.2 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)