Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.571/0.571, allocations: 111.6 MB / 131.5 MB, free: 4.887 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.Examples.SimpleExamples.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 176.7 MB, free: 8.859 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.99e-05, allocations: 7.953 kB / 176.7 MB, free: 8.855 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.Examples.SimpleExamples.TestSimpleStaticCondenser): time 1.13/1.13, allocations: 264.4 MB / 441.1 MB, free: 13.1 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02298/1.153, allocations: 23.39 MB / 464.5 MB, free: 5.629 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003751/1.154, allocations: 4 kB / 464.5 MB, free: 5.625 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:31:3-32:81: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 master/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:33:3-34:80: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 master/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:35:3-36:77: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 master/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:37:3-38:79:writable] Warning: Connector Sc 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 master/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20:78: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 master/WaterSteam/BoundaryConditions/SinkP.mo:19:3-20:80:writable] Warning: Connector C 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.0004587/1.154, allocations: 206.5 kB / 464.7 MB, free: 5.422 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00048/1.155, allocations: 333.7 kB / 465 MB, free: 5.094 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01309/1.168, allocations: 6.39 MB / 471.4 MB, free: 14.68 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001103/1.169, allocations: 0.925 MB / 472.3 MB, free: 13.75 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002969/1.169, allocations: 202 kB / 472.5 MB, free: 13.54 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006354/1.17, allocations: 0.5222 MB / 473.1 MB, free: 13.02 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/1.17, allocations: 191.4 kB / 473.2 MB, free: 12.83 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/1.17, allocations: 36 kB / 473.3 MB, free: 12.79 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:525:9-525:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:708:9-708:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.2191/1.389, allocations: 16.28 MB / 489.6 MB, free: 13.59 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/1.389, allocations: 102.2 kB / 489.7 MB, free: 13.59 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003873/1.39, allocations: 211.1 kB / 489.9 MB, free: 13.59 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01707/1.407, allocations: 9.013 MB / 498.9 MB, free: 13.49 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/1.407, allocations: 0.6875 kB / 498.9 MB, free: 13.49 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.503e-06/1.407, allocations: 0 / 498.9 MB, free: 13.49 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.614e-05/1.407, allocations: 2.156 kB / 498.9 MB, free: 13.49 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.005623/1.412, allocations: 1.419 MB / 0.4886 GB, free: 12.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/1.412, allocations: 12.42 kB / 0.4886 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/1.413, allocations: 68.45 kB / 0.4886 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/1.413, allocations: 232.8 kB / 0.4889 GB, free: 12.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.986e-05/1.413, allocations: 28.56 kB / 0.4889 GB, free: 12.56 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/1.413, allocations: 41.5 kB / 0.4889 GB, free: 12.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004952/1.414, allocations: 472.9 kB / 0.4894 GB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/1.414, allocations: 384 / 0.4894 GB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/1.414, allocations: 24.16 kB / 0.4894 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/1.414, allocations: 37.78 kB / 0.4894 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/1.414, allocations: 187.5 kB / 0.4896 GB, free: 12.37 MB / 426.7 MB 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.03079/1.445, allocations: 18.32 MB / 0.5075 GB, free: 4.051 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/1.445, allocations: 187.5 kB / 0.5077 GB, free: 3.863 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.382e-05/1.445, allocations: 78.58 kB / 0.5078 GB, free: 3.789 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0413/1.486, allocations: 21.09 MB / 0.5284 GB, free: 14.74 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/1.486, allocations: 38.55 kB / 0.5284 GB, free: 14.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=124): time 2.305e-06/1.486, allocations: 4 kB / 0.5284 GB, free: 14.69 MB / 458.7 MB Notification: Performance of matching and sorting (n=124): time 0.001048/1.487, allocations: 0.5623 MB / 0.529 GB, free: 14.13 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/1.487, allocations: 51.41 kB / 0.529 GB, free: 14.07 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/1.488, allocations: 234.8 kB / 0.5292 GB, free: 13.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/1.488, allocations: 29.7 kB / 0.5293 GB, free: 13.83 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.209e-05/1.488, allocations: 225.3 kB / 0.5295 GB, free: 13.61 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/1.488, allocations: 419.6 kB / 0.5299 GB, free: 13.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/1.488, allocations: 115 kB / 0.53 GB, free: 13.14 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/1.488, allocations: 373.7 kB / 0.5303 GB, free: 12.79 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.617e-05/1.488, allocations: 76.12 kB / 0.5304 GB, free: 12.71 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/1.488, allocations: 170 kB / 0.5306 GB, free: 12.54 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/1.489, allocations: 334.9 kB / 0.5309 GB, free: 12.22 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.489, allocations: 0 / 0.5309 GB, free: 12.22 MB / 458.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.0004347/1.489, allocations: 409.6 kB / 0.5313 GB, free: 11.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.489, allocations: 8 kB / 0.5313 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/1.489, allocations: 8.25 kB / 0.5313 GB, free: 11.81 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006512/1.49, allocations: 203.4 kB / 0.5315 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.837e-05/1.49, allocations: 15.98 kB / 0.5315 GB, free: 11.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008977/1.491, allocations: 1.158 MB / 0.5326 GB, free: 10.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/1.491, allocations: 71.3 kB / 0.5327 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/1.491, allocations: 8 kB / 0.5327 GB, free: 10.33 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (simpleStaticCondenser.Ec.a,simpleStaticCondenser.Ef.a,simpleStaticCondenser.Sf.b,simpleStaticCondenser.Sc.b,sourceP.C.b,sourceP1.C.b,sinkP.C.a,sinkP1.C.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 {(3,3), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001272/1.491, allocations: 130 kB / 0.5328 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/1.491, allocations: 23.97 kB / 0.5329 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002154/1.493, allocations: 3.842 MB / 0.5366 GB, free: 7.426 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004004/1.494, allocations: 466.6 kB / 0.5371 GB, free: 6.965 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/1.494, allocations: 0.75 kB / 0.5371 GB, free: 6.965 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/1.494, allocations: 8.781 kB / 0.5371 GB, free: 6.957 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/1.495, allocations: 1.356 MB / 0.5384 GB, free: 5.695 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/1.495, allocations: 0.875 kB / 0.5384 GB, free: 5.695 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/1.495, allocations: 107 kB / 0.5385 GB, free: 5.598 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003374/1.496, allocations: 150.1 kB / 0.5386 GB, free: 5.449 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/1.496, allocations: 20 kB / 0.5387 GB, free: 5.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005614/1.496, allocations: 1.191 MB / 0.5398 GB, free: 4.207 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.496, allocations: 4.547 kB / 0.5398 GB, free: 4.203 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005521/1.497, allocations: 0.651 MB / 0.5405 GB, free: 3.551 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/1.497, allocations: 83.94 kB / 0.5405 GB, free: 3.469 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-05/1.497, allocations: 40.83 kB / 0.5406 GB, free: 3.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/1.497, allocations: 8 kB / 0.5406 GB, free: 3.422 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.641e-05/1.497, allocations: 49.75 kB / 0.5406 GB, free: 3.375 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/1.497, allocations: 16 kB / 0.5407 GB, free: 3.359 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003954/1.498, allocations: 167.8 kB / 0.5408 GB, free: 3.207 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/1.498, allocations: 3.281 kB / 0.5408 GB, free: 3.207 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003456/1.501, allocations: 1.021 MB / 0.5418 GB, free: 2.184 MB / 458.7 MB 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 {(3,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00468/1.506, allocations: 1.372 MB / 0.5432 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008091/1.506, allocations: 0.6918 MB / 0.5438 GB, free: 248 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/1.506, allocations: 4 kB / 0.5438 GB, free: 244 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000281/1.507, allocations: 255.2 kB / 0.5441 GB, free: 20 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/1.508, allocations: 425 kB / 0.5445 GB, free: 15.63 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/1.51, allocations: 1.31 MB / 0.5458 GB, free: 14.31 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/1.51, allocations: 192.3 kB / 0.5459 GB, free: 14.11 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002267/1.51, allocations: 64.16 kB / 0.546 GB, free: 14.05 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003913/1.51, allocations: 273.1 kB / 0.5463 GB, free: 13.78 MB / 474.7 MB Notification: Performance of SimCode: time 1.392e-06/1.51, allocations: 0 / 0.5463 GB, free: 13.78 MB / 474.7 MB Notification: Performance of Templates: time 0.05967/1.57, allocations: 50.58 MB / 0.5957 GB, free: 11.74 MB / 0.5105 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.230514925904572]