Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.5213/0.5213, allocations: 111.6 MB / 131.2 MB, free: 4.602 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 176.2 MB, free: 9.168 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.248e-05, allocations: 6.312 kB / 176.2 MB, free: 9.16 MB / 170.7 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser): time 1.003/1.003, allocations: 259.1 MB / 435.3 MB, free: 14.32 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3331/1.337, allocations: 184.1 MB / 0.6048 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006254/1.337, allocations: 19.81 kB / 0.6049 GB, free: 10.64 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/SimpleStaticCondenser.mo:45:3-46:81:writable] Warning: Connector Ec is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/SimpleStaticCondenser.mo:47:3-48:80:writable] Warning: Connector Ef is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/SimpleStaticCondenser.mo:49:3-50:77:writable] Warning: Connector Sf is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/SimpleStaticCondenser.mo:51:3-52:79:writable] Warning: Connector Sc is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:32:3-33:80:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004854/1.338, allocations: 204.6 kB / 0.6051 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006033/1.338, allocations: 399.7 kB / 0.6054 GB, free: 10.05 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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 master/Properties/WaterSteam/IF97_packages.mo:525:9-525: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 master/Properties/WaterSteam/IF97_packages.mo:708:9-708: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 master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: dh1satp 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 master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: dh2satp 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 master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: du1satp_der 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 master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: du2satp_der 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.02164/1.36, allocations: 12.06 MB / 0.6172 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001017/1.361, allocations: 1.085 MB / 0.6183 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003405/1.361, allocations: 357.5 kB / 0.6186 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005063/1.362, allocations: 0.6585 MB / 0.6193 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/1.362, allocations: 271.1 kB / 0.6195 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 5.565e-05/1.362, allocations: 64 kB / 0.6196 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02218/1.384, allocations: 18.89 MB / 0.638 GB, free: 8.711 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001687/1.384, allocations: 191.2 kB / 0.6382 GB, free: 8.523 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002996/1.385, allocations: 303.2 kB / 0.6385 GB, free: 8.227 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.02037/1.405, allocations: 12.68 MB / 0.6509 GB, free: 11.51 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.405, allocations: 0 / 0.6509 GB, free: 11.51 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.863e-06/1.405, allocations: 0 / 0.6509 GB, free: 11.51 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.684e-05/1.405, allocations: 4 kB / 0.6509 GB, free: 11.51 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.004335/1.409, allocations: 2.37 MB / 0.6532 GB, free: 9.09 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/1.409, allocations: 11.98 kB / 0.6532 GB, free: 9.078 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/1.41, allocations: 171.2 kB / 0.6534 GB, free: 8.91 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004752/1.41, allocations: 459.8 kB / 0.6538 GB, free: 8.43 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/1.41, allocations: 50 kB / 0.6539 GB, free: 8.379 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.221e-05/1.41, allocations: 71.94 kB / 0.6539 GB, free: 8.309 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007127/1.411, allocations: 0.7056 MB / 0.6546 GB, free: 7.535 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/1.411, allocations: 0 / 0.6546 GB, free: 7.535 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/1.411, allocations: 36 kB / 0.6546 GB, free: 7.5 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/1.411, allocations: 27.98 kB / 0.6547 GB, free: 7.473 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003896/1.411, allocations: 308.9 kB / 0.655 GB, free: 7.164 MB / 0.573 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.007854/1.419, allocations: 6.735 MB / 0.6615 GB, free: 344 kB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/1.42, allocations: 152.1 kB / 0.6617 GB, free: 180 kB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/1.42, allocations: 89.66 kB / 0.6618 GB, free: 88 kB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04482/1.464, allocations: 27.76 MB / 0.6889 GB, free: 4.305 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/1.464, allocations: 45.38 kB / 0.6889 GB, free: 4.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=86): time 2.134e-06/1.464, allocations: 0 / 0.6889 GB, free: 4.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=86): time 0.001145/1.466, allocations: 0.6447 MB / 0.6896 GB, free: 3.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/1.466, allocations: 55.41 kB / 0.6896 GB, free: 3.523 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003965/1.466, allocations: 0.514 MB / 0.6901 GB, free: 2.992 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/1.466, allocations: 29.7 kB / 0.6901 GB, free: 2.957 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/1.466, allocations: 435.6 kB / 0.6906 GB, free: 2.523 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/1.466, allocations: 309.3 kB / 0.6909 GB, free: 2.219 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/1.467, allocations: 159.6 kB / 0.691 GB, free: 2.055 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.467, allocations: 0.543 MB / 0.6915 GB, free: 1.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/1.467, allocations: 89.45 kB / 0.6916 GB, free: 1.414 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/1.467, allocations: 352.8 kB / 0.692 GB, free: 0.9648 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004041/1.467, allocations: 0.519 MB / 0.6925 GB, free: 352 kB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.467, allocations: 0 / 0.6925 GB, free: 352 kB / 0.6042 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0006633/1.468, allocations: 0.5995 MB / 0.693 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/1.468, allocations: 12.69 kB / 0.6931 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/1.468, allocations: 4 kB / 0.6931 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006946/1.469, allocations: 219.2 kB / 0.6933 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/1.469, allocations: 67.84 kB / 0.6933 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007664/1.47, allocations: 1.751 MB / 0.695 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/1.47, allocations: 67.41 kB / 0.6951 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002145/1.47, allocations: 24 kB / 0.6951 GB, free: 13.52 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 8 (sourceP1.C.ftype,sourceP.C.ftype,simpleStaticCondenser.fluid_c,simpleStaticCondenser.fluid_f,sinkP.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000154/1.47, allocations: 192.4 kB / 0.6953 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/1.47, allocations: 72.16 kB / 0.6954 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/1.472, allocations: 1.727 MB / 0.6971 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005079/1.472, allocations: 0.5791 MB / 0.6976 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.472, allocations: 4.922 kB / 0.6976 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.872e-06/1.472, allocations: 0 / 0.6976 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/1.474, allocations: 1.777 MB / 0.6994 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/1.474, allocations: 4 kB / 0.6994 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/1.474, allocations: 93.14 kB / 0.6995 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003158/1.474, allocations: 176.4 kB / 0.6996 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/1.474, allocations: 16 kB / 0.6997 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006661/1.475, allocations: 1.761 MB / 0.7014 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.475, allocations: 0 / 0.7014 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009054/1.476, allocations: 0.8475 MB / 0.7022 GB, free: 6.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/1.476, allocations: 157 kB / 0.7024 GB, free: 5.863 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/1.476, allocations: 20.02 kB / 0.7024 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/1.476, allocations: 17.3 kB / 0.7024 GB, free: 5.828 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/1.476, allocations: 44.56 kB / 0.7024 GB, free: 5.785 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/1.476, allocations: 23.94 kB / 0.7025 GB, free: 5.762 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002409/1.477, allocations: 350.8 kB / 0.7028 GB, free: 5.418 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/1.477, allocations: 0 / 0.7028 GB, free: 5.418 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002731/1.479, allocations: 1.531 MB / 0.7043 GB, free: 3.883 MB / 0.6198 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 (67): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003918/1.483, allocations: 2.319 MB / 0.7065 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007214/1.484, allocations: 0.7728 MB / 0.7073 GB, free: 0.7383 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.484, allocations: 0 / 0.7073 GB, free: 0.7383 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002597/1.484, allocations: 295.4 kB / 0.7076 GB, free: 456 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009636/1.485, allocations: 417.8 kB / 0.708 GB, free: 64 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2044/1.69, allocations: 1.603 MB / 0.7095 GB, free: 82.33 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/1.69, allocations: 212.5 kB / 0.7097 GB, free: 82.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000298/1.69, allocations: 101.6 kB / 0.7098 GB, free: 82.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.949e-05/1.69, allocations: 54.64 kB / 0.7099 GB, free: 82.24 MB / 0.6198 GB Notification: Performance of SimCode: time 1.143e-06/1.69, allocations: 0 / 0.7099 GB, free: 82.24 MB / 0.6198 GB Notification: Performance of Templates: time 0.05469/1.745, allocations: 69.94 MB / 0.7782 GB, free: 58.18 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.381406588014215]