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.8166/0.8166, allocations: 150.9 MB / 166.5 MB, free: 14.69 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003715, allocations: 17.14 kB / 237.1 MB, free: 1.715 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0536/0.05398, allocations: 31.35 MB / 268.4 MB, free: 7.062 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.632/1.686, allocations: 296.1 MB / 0.5513 GB, free: 11.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02803/1.714, allocations: 23.75 MB / 0.5745 GB, free: 3.914 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003554/1.714, allocations: 8 kB / 0.5745 GB, free: 3.906 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.0006708/1.715, allocations: 277 kB / 0.5747 GB, free: 3.637 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00067/1.715, allocations: 282.1 kB / 0.575 GB, free: 3.359 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.01955/1.735, allocations: 7.696 MB / 0.5825 GB, free: 11.66 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001019/1.736, allocations: 0.81 MB / 0.5833 GB, free: 10.84 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003679/1.736, allocations: 240.9 kB / 0.5836 GB, free: 10.61 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004414/1.737, allocations: 318.7 kB / 0.5839 GB, free: 10.29 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003182/1.737, allocations: 258.7 kB / 0.5841 GB, free: 10.04 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.426e-05/1.737, allocations: 36 kB / 0.5841 GB, free: 10 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0277/1.765, allocations: 17.15 MB / 0.6009 GB, free: 8.828 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/1.765, allocations: 103.5 kB / 0.601 GB, free: 8.727 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003895/1.765, allocations: 294.5 kB / 0.6013 GB, free: 8.438 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01554/1.781, allocations: 7.196 MB / 0.6083 GB, free: 1.227 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.781, allocations: 0 / 0.6083 GB, free: 1.227 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.467e-06/1.781, allocations: 3.984 kB / 0.6083 GB, free: 1.223 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.573e-05/1.781, allocations: 8 kB / 0.6083 GB, free: 1.215 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.004166/1.785, allocations: 1.431 MB / 0.6097 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/1.785, allocations: 11.89 kB / 0.6097 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/1.785, allocations: 60.19 kB / 0.6098 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/1.786, allocations: 312.6 kB / 0.6101 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/1.786, allocations: 63.27 kB / 0.6101 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.184e-05/1.786, allocations: 44.12 kB / 0.6102 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009666/1.787, allocations: 0.6328 MB / 0.6108 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/1.787, allocations: 3.938 kB / 0.6108 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.946e-05/1.787, allocations: 16 kB / 0.6108 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.016e-05/1.787, allocations: 35.97 kB / 0.6108 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007887/1.788, allocations: 442.9 kB / 0.6113 GB, free: 14.05 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.04183/1.83, allocations: 19.53 MB / 0.6303 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006481/1.83, allocations: 339.9 kB / 0.6307 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004141/1.831, allocations: 274.7 kB / 0.6309 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09611/1.927, allocations: 41.56 MB / 0.6715 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/1.927, allocations: 34.56 kB / 0.6715 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=103): time 2.555e-06/1.927, allocations: 0 / 0.6715 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=103): time 0.004772/1.932, allocations: 1.447 MB / 0.673 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/1.932, allocations: 55.41 kB / 0.673 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004214/1.932, allocations: 345.5 kB / 0.6733 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/1.932, allocations: 33.7 kB / 0.6734 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/1.933, allocations: 193.4 kB / 0.6736 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/1.933, allocations: 338.8 kB / 0.6739 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/1.933, allocations: 89.67 kB / 0.674 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001643/1.933, allocations: 370.8 kB / 0.6743 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004988/1.934, allocations: 188.9 kB / 0.6745 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004254/1.934, allocations: 298.4 kB / 0.6748 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008176/1.935, allocations: 0.5433 MB / 0.6753 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/1.935, allocations: 4 kB / 0.6753 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00133/1.936, allocations: 0.7617 MB / 0.6761 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/1.936, allocations: 11.94 kB / 0.6761 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/1.936, allocations: 0 / 0.6761 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00215/1.938, allocations: 0.7187 MB / 0.6768 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.582e-05/1.938, allocations: 15.92 kB / 0.6768 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/1.94, allocations: 1.046 MB / 0.6778 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/1.941, allocations: 75.03 kB / 0.6779 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/1.941, allocations: 16 kB / 0.6779 GB, free: 3.609 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.0002045/1.941, allocations: 174.2 kB / 0.6781 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.306e-05/1.941, allocations: 43.34 kB / 0.6781 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002469/1.943, allocations: 2.067 MB / 0.6801 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001504/1.945, allocations: 1.003 MB / 0.6811 GB, free: 232 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/1.945, allocations: 8 kB / 0.6811 GB, free: 224 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/1.945, allocations: 3.984 kB / 0.6811 GB, free: 220 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003454/1.948, allocations: 2.303 MB / 0.6834 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/1.948, allocations: 0 / 0.6834 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/1.949, allocations: 95.89 kB / 0.6835 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007816/1.949, allocations: 499.9 kB / 0.6839 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.984e-05/1.95, allocations: 16 kB / 0.6839 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/1.951, allocations: 1.112 MB / 0.685 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.951, allocations: 0 / 0.685 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/1.953, allocations: 1.125 MB / 0.6861 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002424/1.953, allocations: 203.8 kB / 0.6863 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.936e-05/1.953, allocations: 23.84 kB / 0.6864 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/1.953, allocations: 19.98 kB / 0.6864 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.761e-05/1.954, allocations: 52.58 kB / 0.6864 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/1.954, allocations: 20 kB / 0.6864 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003351/1.954, allocations: 319.1 kB / 0.6867 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.473e-06/1.954, allocations: 0 / 0.6867 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002619/1.957, allocations: 0.9721 MB / 0.6877 GB, free: 9.352 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.004298/1.961, allocations: 1.15 MB / 0.6888 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001854/1.963, allocations: 0.9961 MB / 0.6898 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.963, allocations: 3.938 kB / 0.6898 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/1.964, allocations: 0.4953 MB / 0.6903 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/1.966, allocations: 389.9 kB / 0.6906 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/1.968, allocations: 1.382 MB / 0.692 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005546/1.968, allocations: 0.9787 MB / 0.693 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002389/1.969, allocations: 72.22 kB / 0.693 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.028e-05/1.969, allocations: 43.44 kB / 0.6931 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/1.969, allocations: 0 / 0.6931 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of Templates: time 0.2287/2.198, allocations: 44.47 MB / 0.7365 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)