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.8838/0.8838, allocations: 153.8 MB / 173.4 MB, free: 4.883 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/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 0.0005944/0.0005944, allocations: 11.97 kB / 251 MB, free: 3.879 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1782, allocations: 33.36 MB / 284.4 MB, free: 2.051 MB / 222.1 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.89/2.068, allocations: 309.4 MB / 0.5798 GB, free: 17.27 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2071/2.275, allocations: 167 MB / 0.7429 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006746/2.276, allocations: 27.81 kB / 0.743 GB, free: 12.32 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/SimpleStaticCondenser.mo:65:3-66:55: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:67:3-68:54: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:69:3-70:51: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:71:3-72:53: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:59:3-60:65: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:47:3-48:67: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.0006483/2.276, allocations: 204.4 kB / 0.7431 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009207/2.277, allocations: 373.3 kB / 0.7435 GB, free: 11.75 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69: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:69:3-69: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:167:3-170:49: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:167:3-170:49: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.03275/2.31, allocations: 11.91 MB / 0.7551 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001659/2.312, allocations: 1.043 MB / 0.7562 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005297/2.312, allocations: 341.2 kB / 0.7565 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006309/2.313, allocations: 458.1 kB / 0.7569 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004418/2.313, allocations: 342 kB / 0.7572 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.469e-05/2.313, allocations: 64 kB / 0.7573 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03661/2.35, allocations: 18.86 MB / 0.7757 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002764/2.35, allocations: 191.3 kB / 0.7759 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005002/2.351, allocations: 382 kB / 0.7763 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0234/2.374, allocations: 10.45 MB / 0.7865 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/2.374, allocations: 0 / 0.7865 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.423e-06/2.374, allocations: 0 / 0.7865 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.96e-05/2.374, allocations: 0 / 0.7865 GB, free: 15.67 MB / 0.6544 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.005259/2.38, allocations: 2.266 MB / 0.7887 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/2.38, allocations: 8.031 kB / 0.7887 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/2.38, allocations: 111.3 kB / 0.7888 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000739/2.381, allocations: 437.4 kB / 0.7892 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.787e-05/2.381, allocations: 58 kB / 0.7893 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.902e-05/2.381, allocations: 74.16 kB / 0.7893 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/2.382, allocations: 0.8859 MB / 0.7902 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/2.382, allocations: 0 / 0.7902 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.915e-05/2.382, allocations: 32 kB / 0.7902 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.442e-05/2.382, allocations: 35.97 kB / 0.7903 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008973/2.383, allocations: 0.5337 MB / 0.7908 GB, free: 11.12 MB / 0.6544 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.01644/2.399, allocations: 6.342 MB / 0.797 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006635/2.4, allocations: 217.4 kB / 0.7972 GB, free: 4.484 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/2.4, allocations: 147.6 kB / 0.7973 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0979/2.498, allocations: 27.66 MB / 0.8243 GB, free: 8.656 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/2.498, allocations: 34.56 kB / 0.8244 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=86): time 2.725e-06/2.498, allocations: 0 / 0.8244 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of matching and sorting (n=86): time 0.002077/2.5, allocations: 0.7877 MB / 0.8251 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/2.5, allocations: 63.34 kB / 0.8252 GB, free: 7.738 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006356/2.501, allocations: 0.4947 MB / 0.8257 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/2.501, allocations: 33.7 kB / 0.8257 GB, free: 7.195 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/2.501, allocations: 396.8 kB / 0.8261 GB, free: 6.801 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/2.502, allocations: 297.3 kB / 0.8264 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/2.502, allocations: 150 kB / 0.8265 GB, free: 6.355 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001933/2.502, allocations: 362.8 kB / 0.8269 GB, free: 5.992 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/2.502, allocations: 169.4 kB / 0.827 GB, free: 5.828 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004729/2.503, allocations: 357.4 kB / 0.8274 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008492/2.504, allocations: 0.5986 MB / 0.828 GB, free: 4.727 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/2.504, allocations: 0 / 0.828 GB, free: 4.727 MB / 0.6856 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001306/2.505, allocations: 0.7245 MB / 0.8287 GB, free: 3.992 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/2.505, allocations: 12.03 kB / 0.8287 GB, free: 3.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/2.505, allocations: 11.98 kB / 0.8287 GB, free: 3.969 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001754/2.507, allocations: 325.9 kB / 0.829 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/2.507, allocations: 63.92 kB / 0.8291 GB, free: 3.582 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001259/2.508, allocations: 1.309 MB / 0.8303 GB, free: 2.223 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/2.509, allocations: 75.3 kB / 0.8304 GB, free: 2.148 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/2.509, allocations: 24.56 kB / 0.8304 GB, free: 2.125 MB / 0.6856 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.0003457/2.509, allocations: 214.7 kB / 0.8306 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/2.509, allocations: 67.53 kB / 0.8307 GB, free: 1.84 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1759/2.685, allocations: 1.835 MB / 0.8325 GB, free: 301.1 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001096/2.686, allocations: 0.8104 MB / 0.8333 GB, free: 301 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/2.686, allocations: 0.625 kB / 0.8333 GB, free: 301 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/2.686, allocations: 4.547 kB / 0.8333 GB, free: 301 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002812/2.689, allocations: 1.952 MB / 0.8352 GB, free: 300.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/2.689, allocations: 2.328 kB / 0.8352 GB, free: 300.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/2.689, allocations: 96.12 kB / 0.8353 GB, free: 300.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000735/2.69, allocations: 242.2 kB / 0.8355 GB, free: 300.7 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/2.69, allocations: 13.22 kB / 0.8355 GB, free: 300.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007768/2.691, allocations: 1.355 MB / 0.8369 GB, free: 299.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/2.691, allocations: 0 / 0.8369 GB, free: 299.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/2.692, allocations: 0.9867 MB / 0.8378 GB, free: 299.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002806/2.692, allocations: 157.9 kB / 0.838 GB, free: 299.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.975e-05/2.692, allocations: 21.77 kB / 0.838 GB, free: 299.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/2.692, allocations: 15.44 kB / 0.838 GB, free: 299.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/2.693, allocations: 42.78 kB / 0.838 GB, free: 299.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/2.693, allocations: 20.23 kB / 0.8381 GB, free: 299.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003838/2.693, allocations: 382.1 kB / 0.8384 GB, free: 299.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/2.693, allocations: 3.812 kB / 0.8384 GB, free: 299.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003411/2.696, allocations: 1.533 MB / 0.8399 GB, free: 299.3 MB / 0.6856 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.005303/2.702, allocations: 2.135 MB / 0.842 GB, free: 299.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001136/2.703, allocations: 0.9081 MB / 0.8429 GB, free: 298.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/2.703, allocations: 0 / 0.8429 GB, free: 298.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004806/2.703, allocations: 340.8 kB / 0.8432 GB, free: 298.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/2.705, allocations: 410.5 kB / 0.8436 GB, free: 298.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/2.707, allocations: 1.815 MB / 0.8454 GB, free: 298.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/2.708, allocations: 496.3 kB / 0.8459 GB, free: 298 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.947e-05/2.708, allocations: 61.34 kB / 0.8459 GB, free: 298 MB / 0.6856 GB Notification: Performance of SimCode: time 4.21e-07/2.708, allocations: 0 / 0.8459 GB, free: 298 MB / 0.6856 GB Notification: Performance of Templates: time 0.04627/2.754, allocations: 42.19 MB / 0.8871 GB, free: 271.5 MB / 0.6856 GB " [Timeout remaining time 657] 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.309419407043606] Failed to read output from testmodel.py, exit status != 0: 2.8977488330565393 2.907420088 0.530603939 Calling exit ...