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.8677/0.8677, allocations: 153.9 MB / 173.4 MB, free: 4.938 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.0005506/0.0005506, allocations: 7.984 kB / 251.1 MB, free: 3.957 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2052, allocations: 33.37 MB / 284.5 MB, free: 2.148 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.885/2.091, allocations: 309.6 MB / 0.5802 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2266/2.317, allocations: 193.5 MB / 0.7692 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/2.318, allocations: 19.81 kB / 0.7692 GB, free: 1.449 MB / 0.6231 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.001011/2.319, allocations: 236.1 kB / 0.7694 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001504/2.321, allocations: 381.2 kB / 0.7698 GB, free: 0.8438 MB / 0.6231 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.0388/2.36, allocations: 12.06 MB / 0.7816 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002084/2.362, allocations: 1.045 MB / 0.7826 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007188/2.362, allocations: 351 kB / 0.7829 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008934/2.363, allocations: 450.2 kB / 0.7833 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007714/2.364, allocations: 394 kB / 0.7837 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001789/2.364, allocations: 64 kB / 0.7838 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04388/2.408, allocations: 20.16 MB / 0.8035 GB, free: 14.3 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003377/2.408, allocations: 199.2 kB / 0.8037 GB, free: 14.11 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007704/2.409, allocations: 473.5 kB / 0.8041 GB, free: 13.64 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0284/2.438, allocations: 10.42 MB / 0.8143 GB, free: 3.188 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/2.438, allocations: 1.031 kB / 0.8143 GB, free: 3.188 MB / 0.67 GB Notification: Performance of FrontEnd: time 5.741e-06/2.438, allocations: 3.984 kB / 0.8143 GB, free: 3.184 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.993e-05/2.438, allocations: 0 / 0.8143 GB, free: 3.184 MB / 0.67 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.006204/2.444, allocations: 2.289 MB / 0.8165 GB, free: 0.8516 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/2.444, allocations: 8.031 kB / 0.8165 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002216/2.444, allocations: 111.3 kB / 0.8166 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007775/2.445, allocations: 433 kB / 0.8171 GB, free: 288 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.534e-05/2.445, allocations: 54 kB / 0.8171 GB, free: 232 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.291e-05/2.445, allocations: 64 kB / 0.8172 GB, free: 168 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/2.446, allocations: 0.8352 MB / 0.818 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/2.446, allocations: 9.25 kB / 0.818 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.635e-05/2.446, allocations: 31.52 kB / 0.818 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-05/2.447, allocations: 31.98 kB / 0.818 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009248/2.447, allocations: 0.5367 MB / 0.8186 GB, free: 14.68 MB / 0.6856 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.01652/2.464, allocations: 7.769 MB / 0.8262 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005692/2.465, allocations: 215.6 kB / 0.8264 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/2.465, allocations: 142.8 kB / 0.8265 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2863/2.751, allocations: 27.54 MB / 0.8534 GB, free: 297.1 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/2.751, allocations: 33.69 kB / 0.8534 GB, free: 297 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=86): time 2.224e-06/2.751, allocations: 2.906 kB / 0.8534 GB, free: 297 MB / 0.6856 GB Notification: Performance of matching and sorting (n=86): time 0.001895/2.753, allocations: 0.8021 MB / 0.8542 GB, free: 296.9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/2.753, allocations: 55.41 kB / 0.8543 GB, free: 296.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006056/2.754, allocations: 0.5916 MB / 0.8548 GB, free: 296.8 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/2.754, allocations: 28.45 kB / 0.8549 GB, free: 296.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/2.754, allocations: 383.3 kB / 0.8552 GB, free: 296.6 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/2.754, allocations: 299.8 kB / 0.8555 GB, free: 296.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/2.754, allocations: 148.8 kB / 0.8557 GB, free: 296.3 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.144e-05/2.754, allocations: 369.9 kB / 0.856 GB, free: 296 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/2.754, allocations: 171.2 kB / 0.8562 GB, free: 296 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/2.755, allocations: 367.8 kB / 0.8565 GB, free: 295.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005775/2.755, allocations: 0.5944 MB / 0.8571 GB, free: 295.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/2.755, allocations: 0 / 0.8571 GB, free: 295.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001074/2.756, allocations: 0.7322 MB / 0.8578 GB, free: 295.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/2.756, allocations: 11.89 kB / 0.8578 GB, free: 295.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/2.756, allocations: 8.531 kB / 0.8578 GB, free: 295.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/2.758, allocations: 335.3 kB / 0.8582 GB, free: 295.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/2.758, allocations: 64.83 kB / 0.8582 GB, free: 295.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008114/2.759, allocations: 1.302 MB / 0.8595 GB, free: 294.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003426/2.759, allocations: 82.22 kB / 0.8596 GB, free: 294.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.893e-05/2.759, allocations: 26.72 kB / 0.8596 GB, free: 294.1 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.00026/2.76, allocations: 222.8 kB / 0.8598 GB, free: 294 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/2.76, allocations: 81.36 kB / 0.8599 GB, free: 293.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/2.761, allocations: 1.835 MB / 0.8617 GB, free: 293 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007829/2.762, allocations: 0.8076 MB / 0.8625 GB, free: 292.6 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/2.762, allocations: 7.812 kB / 0.8625 GB, free: 292.6 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/2.762, allocations: 3.984 kB / 0.8625 GB, free: 292.6 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00251/2.765, allocations: 2.164 MB / 0.8646 GB, free: 291.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/2.765, allocations: 0 / 0.8646 GB, free: 291.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002397/2.765, allocations: 93.31 kB / 0.8647 GB, free: 291.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006873/2.766, allocations: 253.1 kB / 0.8649 GB, free: 291.2 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/2.766, allocations: 13.19 kB / 0.8649 GB, free: 291.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000731/2.766, allocations: 1.339 MB / 0.8662 GB, free: 289.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/2.766, allocations: 6.469 kB / 0.8663 GB, free: 289.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/2.768, allocations: 1.008 MB / 0.8672 GB, free: 289.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002841/2.768, allocations: 175.4 kB / 0.8674 GB, free: 289.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.6e-05/2.768, allocations: 26.22 kB / 0.8674 GB, free: 289.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/2.768, allocations: 12 kB / 0.8674 GB, free: 289.2 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.281e-05/2.768, allocations: 52 kB / 0.8675 GB, free: 289.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/2.768, allocations: 19.5 kB / 0.8675 GB, free: 289.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000439/2.769, allocations: 476 kB / 0.868 GB, free: 288.9 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/2.769, allocations: 3.75 kB / 0.868 GB, free: 288.9 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003561/2.772, allocations: 1.519 MB / 0.8695 GB, free: 287.8 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.006826/2.779, allocations: 2.138 MB / 0.8715 GB, free: 286 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001284/2.78, allocations: 0.9002 MB / 0.8724 GB, free: 285.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/2.78, allocations: 0 / 0.8724 GB, free: 285.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004725/2.781, allocations: 343.2 kB / 0.8727 GB, free: 284.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/2.783, allocations: 424.2 kB / 0.8732 GB, free: 284.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/2.785, allocations: 1.824 MB / 0.8749 GB, free: 282.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005241/2.786, allocations: 1.073 MB / 0.876 GB, free: 281.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/2.786, allocations: 63.44 kB / 0.876 GB, free: 281.4 MB / 0.6856 GB Notification: Performance of SimCode: time 6.31e-07/2.786, allocations: 4 kB / 0.876 GB, free: 281.4 MB / 0.6856 GB Notification: Performance of Templates: time 0.04693/2.833, allocations: 42.23 MB / 0.9173 GB, free: 240 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.924360338132828] Failed to read output from testmodel.py, exit status != 0: 2.973145456984639 2.982772866 0.542684953 Calling exit ...