Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.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.5854/0.5854, allocations: 111.6 MB / 131.5 MB, free: 4.91 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.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend") translateModel(ThermoSysPro.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 176.7 MB, free: 8.859 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.673e-05, allocations: 7.719 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.TestBend): time 1.099/1.099, allocations: 263 MB / 439.7 MB, free: 14.9 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0293/1.128, allocations: 33.55 MB / 473.2 MB, free: 13.23 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/1.128, allocations: 8 kB / 473.2 MB, free: 13.22 MB / 426.7 MB [/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/Bend.mo:35:3-36:80:writable] Warning: Connector C1 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/PressureLosses/Bend.mo:37:3-38:80:writable] Warning: Connector C2 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.0005152/1.129, allocations: 267 kB / 473.5 MB, free: 12.96 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002723/1.129, allocations: 290.7 kB / 473.8 MB, free: 12.67 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0156/1.144, allocations: 8.825 MB / 482.6 MB, free: 3.805 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004949/1.145, allocations: 0.5064 MB / 483.1 MB, free: 3.293 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/1.145, allocations: 178.7 kB / 483.3 MB, free: 3.117 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/1.145, allocations: 327.1 kB / 483.6 MB, free: 2.797 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/1.146, allocations: 251.5 kB / 483.9 MB, free: 2.551 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/1.146, allocations: 24 kB / 483.9 MB, free: 2.527 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: 'dh1satp' 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/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: 'dh2satp' 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/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: 'du1satp_der' 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/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: 'du2satp_der' 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.2112/1.357, allocations: 18.2 MB / 0.4903 GB, free: 7.305 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002023/1.357, allocations: 182.5 kB / 0.4905 GB, free: 7.305 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002366/1.357, allocations: 156.6 kB / 0.4906 GB, free: 7.305 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01782/1.375, allocations: 11.04 MB / 0.5014 GB, free: 2.285 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.375, allocations: 1.562 kB / 0.5014 GB, free: 2.285 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.332e-06/1.375, allocations: 0 / 0.5014 GB, free: 2.285 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/1.375, allocations: 0 / 0.5014 GB, free: 2.285 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003892/1.379, allocations: 1.769 MB / 0.5031 GB, free: 1.074 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/1.379, allocations: 12.73 kB / 0.5032 GB, free: 1.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/1.379, allocations: 65.19 kB / 0.5032 GB, free: 1.047 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/1.38, allocations: 319 kB / 0.5035 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/1.38, allocations: 15.84 kB / 0.5035 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/1.38, allocations: 26.78 kB / 0.5036 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/1.38, allocations: 340.2 kB / 0.5039 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/1.38, allocations: 3.219 kB / 0.5039 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/1.38, allocations: 11.62 kB / 0.5039 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/1.38, allocations: 15.58 kB / 0.5039 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/1.38, allocations: 97.88 kB / 0.504 GB, free: 488 kB / 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.01576/1.396, allocations: 9.413 MB / 0.5132 GB, free: 8.754 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/1.396, allocations: 137.4 kB / 0.5133 GB, free: 8.613 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.375e-05/1.396, allocations: 40.09 kB / 0.5134 GB, free: 8.578 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0672/1.463, allocations: 39.09 MB / 0.5515 GB, free: 1.602 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/1.463, allocations: 34.56 kB / 0.5516 GB, free: 1.559 MB / 474.7 MB Notification: Performance of pre-optimization done (n=38): time 3.417e-06/1.463, allocations: 3 kB / 0.5516 GB, free: 1.559 MB / 474.7 MB Notification: Performance of matching and sorting (n=38): time 0.000871/1.464, allocations: 324.6 kB / 0.5519 GB, free: 1.238 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/1.464, allocations: 106.8 kB / 0.552 GB, free: 1.109 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/1.465, allocations: 0.5909 MB / 0.5526 GB, free: 0.582 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/1.465, allocations: 29.7 kB / 0.5526 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/1.465, allocations: 237.6 kB / 0.5528 GB, free: 348 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.667e-05/1.465, allocations: 124.7 kB / 0.5529 GB, free: 232 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/1.465, allocations: 68.69 kB / 0.553 GB, free: 168 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/1.465, allocations: 369.9 kB / 0.5534 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.949e-05/1.465, allocations: 39.31 kB / 0.5534 GB, free: 15.79 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/1.465, allocations: 179.4 kB / 0.5536 GB, free: 15.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/1.465, allocations: 159.2 kB / 0.5537 GB, free: 15.42 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.465, allocations: 0 / 0.5537 GB, free: 15.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002774/1.466, allocations: 235.5 kB / 0.5539 GB, free: 15.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.466, allocations: 4 kB / 0.5539 GB, free: 15.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/1.466, allocations: 7.938 kB / 0.554 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006731/1.466, allocations: 164.3 kB / 0.5541 GB, free: 15.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.611e-05/1.466, allocations: 23.08 kB / 0.5541 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003552/1.467, allocations: 0.6067 MB / 0.5547 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/1.467, allocations: 31.78 kB / 0.5548 GB, free: 14.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/1.467, allocations: 4.625 kB / 0.5548 GB, free: 14.35 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.C.b,SinkP1.C.a,Bend.C1.a,Bend.C2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001201/1.467, allocations: 127.5 kB / 0.5549 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/1.467, allocations: 39.95 kB / 0.5549 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004379/1.468, allocations: 0.5756 MB / 0.5555 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001196/1.468, allocations: 148.1 kB / 0.5556 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/1.468, allocations: 4.031 kB / 0.5556 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/1.468, allocations: 3.938 kB / 0.5556 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006057/1.468, allocations: 0.6172 MB / 0.5562 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.468, allocations: 0.5625 kB / 0.5562 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/1.468, allocations: 23.45 kB / 0.5563 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003743/1.469, allocations: 126.8 kB / 0.5564 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/1.469, allocations: 8.875 kB / 0.5564 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004067/1.469, allocations: 0.636 MB / 0.557 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.469, allocations: 4.781 kB / 0.557 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/1.469, allocations: 333.2 kB / 0.5573 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.681e-05/1.469, allocations: 67.55 kB / 0.5574 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/1.469, allocations: 11.89 kB / 0.5574 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.511e-05/1.47, allocations: 8 kB / 0.5574 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/1.47, allocations: 19.53 kB / 0.5574 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/1.47, allocations: 4.5 kB / 0.5574 GB, free: 11.62 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002434/1.47, allocations: 305.9 kB / 0.5577 GB, free: 11.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/1.47, allocations: 0 / 0.5577 GB, free: 11.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002875/1.473, allocations: 1.282 MB / 0.559 GB, free: 10.07 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003984/1.477, allocations: 2.1 MB / 0.561 GB, free: 8.203 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003452/1.477, allocations: 194 kB / 0.5612 GB, free: 8.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/1.477, allocations: 4 kB / 0.5612 GB, free: 8.016 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/1.477, allocations: 80.53 kB / 0.5613 GB, free: 7.938 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/1.478, allocations: 144.3 kB / 0.5614 GB, free: 7.805 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/1.479, allocations: 0.9663 MB / 0.5624 GB, free: 6.816 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/1.479, allocations: 166.6 kB / 0.5625 GB, free: 6.637 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001061/1.479, allocations: 45.05 kB / 0.5626 GB, free: 6.594 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/1.479, allocations: 133.3 kB / 0.5627 GB, free: 6.465 MB / 490.7 MB Notification: Performance of SimCode: time 1.873e-06/1.479, allocations: 0 / 0.5627 GB, free: 6.465 MB / 490.7 MB Notification: Performance of Templates: time 0.05429/1.533, allocations: 52.28 MB / 0.6138 GB, free: 2.535 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.277710929047316]