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.4848/0.4848, allocations: 111.6 MB / 131.5 MB, free: 4.922 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.403e-06/1.403e-06, allocations: 0 / 176.6 MB, free: 8.918 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.636e-05/1.776e-05, allocations: 5.703 kB / 176.6 MB, free: 8.914 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.239/1.239, allocations: 264.9 MB / 441.5 MB, free: 7.566 MB / 394.9 MB Notification: Performance of NFInst.instExpressions: time 0.3695/1.608, allocations: 183.4 MB / 0.6102 GB, free: 15.18 MB / 0.5263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005049/1.609, allocations: 19.81 kB / 0.6102 GB, free: 15.16 MB / 0.5263 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.0004715/1.609, allocations: 214.8 kB / 0.6104 GB, free: 14.95 MB / 0.5263 GB Notification: Performance of NFTyping.typeBindings: time 0.0006142/1.61, allocations: 391.2 kB / 0.6108 GB, free: 14.57 MB / 0.5263 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.02354/1.634, allocations: 12.17 MB / 0.6227 GB, free: 2.477 MB / 0.5263 GB Notification: Performance of NFFlatten.flatten: time 0.001501/1.635, allocations: 1.089 MB / 0.6238 GB, free: 1.383 MB / 0.5263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004274/1.636, allocations: 367.4 kB / 0.6241 GB, free: 1 MB / 0.5263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006591/1.636, allocations: 0.6584 MB / 0.6248 GB, free: 348 kB / 0.5263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/1.636, allocations: 263.2 kB / 0.625 GB, free: 84 kB / 0.5263 GB Notification: Performance of NFPackage.collectConstants: time 5.825e-05/1.636, allocations: 64 kB / 0.6251 GB, free: 20 kB / 0.5263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02522/1.662, allocations: 18.9 MB / 0.6435 GB, free: 13.1 MB / 0.5575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002226/1.662, allocations: 191.2 kB / 0.6437 GB, free: 12.91 MB / 0.5575 GB Notification: Performance of NFVerifyModel.verify: time 0.000392/1.662, allocations: 303.2 kB / 0.644 GB, free: 12.61 MB / 0.5575 GB Notification: Performance of NFConvertDAE.convert: time 0.02124/1.684, allocations: 12.68 MB / 0.6564 GB, free: 15.9 MB / 0.5731 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/1.684, allocations: 0 / 0.6564 GB, free: 15.9 MB / 0.5731 GB Notification: Performance of FrontEnd: time 1.352e-06/1.684, allocations: 0 / 0.6564 GB, free: 15.9 MB / 0.5731 GB Notification: Performance of Transformations before backend: time 1.942e-05/1.684, allocations: 0 / 0.6564 GB, free: 15.9 MB / 0.5731 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.688, allocations: 2.241 MB / 0.6586 GB, free: 13.63 MB / 0.5731 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/1.688, allocations: 15.98 kB / 0.6586 GB, free: 13.61 MB / 0.5731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/1.688, allocations: 127.8 kB / 0.6587 GB, free: 13.49 MB / 0.5731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008857/1.689, allocations: 394.4 kB / 0.6591 GB, free: 13.07 MB / 0.5731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/1.689, allocations: 50 kB / 0.6591 GB, free: 13.02 MB / 0.5731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.713e-05/1.689, allocations: 68 kB / 0.6592 GB, free: 12.96 MB / 0.5731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005244/1.69, allocations: 0.6387 MB / 0.6598 GB, free: 12.26 MB / 0.5731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/1.69, allocations: 7.938 kB / 0.6598 GB, free: 12.25 MB / 0.5731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/1.69, allocations: 28 kB / 0.6598 GB, free: 12.23 MB / 0.5731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/1.69, allocations: 31.98 kB / 0.6599 GB, free: 12.2 MB / 0.5731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/1.69, allocations: 232.5 kB / 0.6601 GB, free: 11.96 MB / 0.5731 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.009333/1.699, allocations: 6.821 MB / 0.6668 GB, free: 5.074 MB / 0.5731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/1.699, allocations: 175.4 kB / 0.6669 GB, free: 4.895 MB / 0.5731 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.923e-05/1.7, allocations: 54.84 kB / 0.667 GB, free: 4.84 MB / 0.5731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04149/1.741, allocations: 25.35 MB / 0.6917 GB, free: 11.47 MB / 0.6044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/1.741, allocations: 39.02 kB / 0.6918 GB, free: 11.42 MB / 0.6044 GB Notification: Performance of pre-optimization done (n=86): time 2.064e-06/1.741, allocations: 7.875 kB / 0.6918 GB, free: 11.41 MB / 0.6044 GB Notification: Performance of matching and sorting (n=86): time 0.0008762/1.742, allocations: 483 kB / 0.6922 GB, free: 10.93 MB / 0.6044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/1.742, allocations: 51.41 kB / 0.6923 GB, free: 10.87 MB / 0.6044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/1.742, allocations: 454.9 kB / 0.6927 GB, free: 10.41 MB / 0.6044 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/1.742, allocations: 25.7 kB / 0.6927 GB, free: 10.38 MB / 0.6044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/1.743, allocations: 369.5 kB / 0.6931 GB, free: 10.01 MB / 0.6044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/1.743, allocations: 301.3 kB / 0.6934 GB, free: 9.715 MB / 0.6044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/1.743, allocations: 141.9 kB / 0.6935 GB, free: 9.57 MB / 0.6044 GB Notification: Performance of setup shared object (initialization): time 0.0001029/1.743, allocations: 370.7 kB / 0.6939 GB, free: 9.199 MB / 0.6044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.443e-05/1.743, allocations: 72.31 kB / 0.6939 GB, free: 9.129 MB / 0.6044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004125/1.743, allocations: 257.9 kB / 0.6942 GB, free: 8.801 MB / 0.6044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/1.744, allocations: 400.9 kB / 0.6946 GB, free: 8.336 MB / 0.6044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/1.744, allocations: 5.25 kB / 0.6946 GB, free: 8.332 MB / 0.6044 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0004858/1.744, allocations: 467.4 kB / 0.695 GB, free: 7.859 MB / 0.6044 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/1.744, allocations: 4 kB / 0.695 GB, free: 7.855 MB / 0.6044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/1.744, allocations: 8 kB / 0.695 GB, free: 7.848 MB / 0.6044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005898/1.745, allocations: 198.4 kB / 0.6952 GB, free: 7.648 MB / 0.6044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/1.745, allocations: 63.84 kB / 0.6953 GB, free: 7.586 MB / 0.6044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000579/1.746, allocations: 1.165 MB / 0.6964 GB, free: 6.371 MB / 0.6044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/1.746, allocations: 71.36 kB / 0.6965 GB, free: 6.301 MB / 0.6044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/1.746, allocations: 16 kB / 0.6965 GB, free: 6.285 MB / 0.6044 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 (sourceP.fluid1,sourceP1.fluid1,sinkP1.fluid,sinkP.fluid,simpleStaticCondenser.fluid_f,simpleStaticCondenser.fluid_c,sourceP.C.ftype,sourceP1.C.ftype) * 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.0001662/1.746, allocations: 141.2 kB / 0.6966 GB, free: 6.137 MB / 0.6044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/1.746, allocations: 43.89 kB / 0.6967 GB, free: 6.094 MB / 0.6044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/1.747, allocations: 1.43 MB / 0.6981 GB, free: 4.602 MB / 0.6044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003502/1.747, allocations: 434.5 kB / 0.6985 GB, free: 4.164 MB / 0.6044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/1.747, allocations: 0 / 0.6985 GB, free: 4.164 MB / 0.6044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/1.747, allocations: 11.92 kB / 0.6985 GB, free: 4.152 MB / 0.6044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/1.749, allocations: 1.38 MB / 0.6998 GB, free: 2.734 MB / 0.6044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.749, allocations: 4 kB / 0.6999 GB, free: 2.73 MB / 0.6044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/1.749, allocations: 91.84 kB / 0.6999 GB, free: 2.641 MB / 0.6044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003159/1.749, allocations: 152.9 kB / 0.7001 GB, free: 2.484 MB / 0.6044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/1.749, allocations: 12 kB / 0.7001 GB, free: 2.473 MB / 0.6044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009149/1.75, allocations: 1.192 MB / 0.7013 GB, free: 1.227 MB / 0.6044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.75, allocations: 0 / 0.7013 GB, free: 1.227 MB / 0.6044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/1.751, allocations: 0.6755 MB / 0.7019 GB, free: 0.5273 MB / 0.6044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/1.751, allocations: 133.7 kB / 0.702 GB, free: 408 kB / 0.6044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/1.751, allocations: 23.88 kB / 0.7021 GB, free: 384 kB / 0.6044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/1.751, allocations: 12 kB / 0.7021 GB, free: 372 kB / 0.6044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/1.751, allocations: 48.56 kB / 0.7021 GB, free: 320 kB / 0.6044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/1.751, allocations: 16.03 kB / 0.7021 GB, free: 304 kB / 0.6044 GB Notification: Performance of sorting global known variables: time 0.0001564/1.752, allocations: 200.4 kB / 0.7023 GB, free: 100 kB / 0.6044 GB Notification: Performance of sort global known variables: time 9e-08/1.752, allocations: 0 / 0.7023 GB, free: 100 kB / 0.6044 GB Notification: Performance of remove unused functions: time 0.00353/1.755, allocations: 1.535 MB / 0.7038 GB, free: 14.55 MB / 0.62 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.005489/1.761, allocations: 2.459 MB / 0.7062 GB, free: 12.09 MB / 0.62 GB Notification: Performance of simCode: created initialization part: time 0.0008442/1.761, allocations: 0.6883 MB / 0.7069 GB, free: 11.35 MB / 0.62 GB Notification: Performance of simCode: created event and clocks part: time 1.806e-05/1.761, allocations: 8.5 kB / 0.7069 GB, free: 11.34 MB / 0.62 GB Notification: Performance of simCode: created simulation system equations: time 0.0002391/1.762, allocations: 239.5 kB / 0.7071 GB, free: 11.11 MB / 0.62 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/1.763, allocations: 424.4 kB / 0.7075 GB, free: 10.72 MB / 0.62 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/1.765, allocations: 1.606 MB / 0.7091 GB, free: 9.074 MB / 0.62 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/1.765, allocations: 209.2 kB / 0.7093 GB, free: 8.852 MB / 0.62 GB Notification: Performance of simCode: alias equations: time 0.0002574/1.765, allocations: 104.5 kB / 0.7094 GB, free: 8.746 MB / 0.62 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000377/1.766, allocations: 273.1 kB / 0.7097 GB, free: 8.48 MB / 0.62 GB Notification: Performance of SimCode: time 1.543e-06/1.766, allocations: 0 / 0.7097 GB, free: 8.48 MB / 0.62 GB Notification: Performance of Templates: time 0.2988/2.065, allocations: 65.43 MB / 0.7736 GB, free: 71.82 MB / 0.62 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.15259140310809]