Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.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.5554/0.5554, allocations: 111.6 MB / 131.5 MB, free: 4.422 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.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 176.5 MB, free: 8.973 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.347e-05, allocations: 8.984 kB / 176.6 MB, free: 8.969 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.Book.SimpleExamples.PressureLoss.TestBend): time 1.143/1.143, allocations: 262.9 MB / 439.4 MB, free: 14.57 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03198/1.175, allocations: 33.54 MB / 473 MB, free: 12.91 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002385/1.175, allocations: 8 kB / 473 MB, free: 12.9 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.0005064/1.176, allocations: 263 kB / 473.2 MB, free: 12.64 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000275/1.176, allocations: 290.7 kB / 473.5 MB, free: 12.36 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 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.01978/1.196, allocations: 10.12 MB / 483.6 MB, free: 2.184 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005374/1.196, allocations: 0.5102 MB / 484.2 MB, free: 1.672 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/1.196, allocations: 186.6 kB / 484.3 MB, free: 1.492 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003039/1.197, allocations: 323.2 kB / 484.7 MB, free: 1.176 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/1.197, allocations: 251.5 kB / 484.9 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/1.197, allocations: 24 kB / 484.9 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2441/1.441, allocations: 16.9 MB / 0.4901 GB, free: 7.641 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00018/1.441, allocations: 176.2 kB / 0.4902 GB, free: 7.641 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002224/1.441, allocations: 160.1 kB / 0.4904 GB, free: 7.641 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01781/1.459, allocations: 11.04 MB / 0.5012 GB, free: 1.508 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/1.459, allocations: 0 / 0.5012 GB, free: 1.508 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.543e-06/1.459, allocations: 4.656 kB / 0.5012 GB, free: 1.508 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/1.459, allocations: 0 / 0.5012 GB, free: 1.508 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.003857/1.463, allocations: 1.756 MB / 0.5029 GB, free: 308 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/1.463, allocations: 13.33 kB / 0.5029 GB, free: 304 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/1.463, allocations: 68.56 kB / 0.503 GB, free: 280 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/1.464, allocations: 323.4 kB / 0.5033 GB, free: 28 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/1.464, allocations: 18.97 kB / 0.5033 GB, free: 20 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/1.464, allocations: 26.44 kB / 0.5033 GB, free: 12 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/1.464, allocations: 339.4 kB / 0.5036 GB, free: 15.74 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/1.464, allocations: 3.75 kB / 0.5036 GB, free: 15.74 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/1.464, allocations: 8 kB / 0.5037 GB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/1.464, allocations: 19.52 kB / 0.5037 GB, free: 15.72 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/1.464, allocations: 91.19 kB / 0.5038 GB, free: 15.71 MB / 442.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.01669/1.481, allocations: 9.41 MB / 0.5129 GB, free: 8.051 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/1.481, allocations: 133.5 kB / 0.5131 GB, free: 7.914 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.862e-05/1.481, allocations: 31.61 kB / 0.5131 GB, free: 7.883 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06413/1.545, allocations: 39.09 MB / 0.5513 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/1.546, allocations: 34.56 kB / 0.5513 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of pre-optimization done (n=38): time 2.665e-06/1.546, allocations: 0 / 0.5513 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of matching and sorting (n=38): time 0.0009088/1.546, allocations: 329.2 kB / 0.5516 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/1.546, allocations: 106.8 kB / 0.5517 GB, free: 440 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007582/1.547, allocations: 0.5937 MB / 0.5523 GB, free: 15.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/1.547, allocations: 29.7 kB / 0.5523 GB, free: 15.87 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/1.547, allocations: 237.6 kB / 0.5526 GB, free: 15.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.513e-05/1.547, allocations: 132.4 kB / 0.5527 GB, free: 15.54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.341e-05/1.548, allocations: 58.2 kB / 0.5527 GB, free: 15.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/1.548, allocations: 376 kB / 0.5531 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.947e-05/1.548, allocations: 35.33 kB / 0.5531 GB, free: 15.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/1.548, allocations: 162.4 kB / 0.5533 GB, free: 14.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/1.548, allocations: 162.5 kB / 0.5534 GB, free: 14.74 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.548, allocations: 4 kB / 0.5534 GB, free: 14.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002533/1.548, allocations: 230.6 kB / 0.5537 GB, free: 14.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/1.548, allocations: 11.98 kB / 0.5537 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.548, allocations: 3.938 kB / 0.5537 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00066/1.549, allocations: 168 kB / 0.5538 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.028e-05/1.549, allocations: 19.98 kB / 0.5539 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003463/1.549, allocations: 0.5998 MB / 0.5544 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/1.549, allocations: 36.36 kB / 0.5545 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/1.549, allocations: 8 kB / 0.5545 GB, free: 13.67 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.0001132/1.55, allocations: 136.1 kB / 0.5546 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/1.55, allocations: 29.09 kB / 0.5546 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004485/1.55, allocations: 0.584 MB / 0.5552 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001124/1.55, allocations: 140.7 kB / 0.5553 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/1.55, allocations: 0.625 kB / 0.5554 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/1.55, allocations: 0 / 0.5554 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006126/1.551, allocations: 0.6246 MB / 0.556 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/1.551, allocations: 0 / 0.556 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-05/1.551, allocations: 29.17 kB / 0.556 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003589/1.551, allocations: 129.9 kB / 0.5561 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/1.551, allocations: 11.97 kB / 0.5561 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003086/1.551, allocations: 0.6338 MB / 0.5567 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.551, allocations: 0 / 0.5567 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/1.552, allocations: 336.1 kB / 0.5571 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.663e-05/1.552, allocations: 68.72 kB / 0.5571 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/1.552, allocations: 15.89 kB / 0.5571 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/1.552, allocations: 8 kB / 0.5572 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/1.552, allocations: 16 kB / 0.5572 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/1.552, allocations: 4.5 kB / 0.5572 GB, free: 10.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002213/1.552, allocations: 308.3 kB / 0.5575 GB, free: 10.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/1.552, allocations: 0 / 0.5575 GB, free: 10.68 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002526/1.555, allocations: 1.282 MB / 0.5587 GB, free: 9.391 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.003292/1.558, allocations: 2.107 MB / 0.5608 GB, free: 7.523 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003059/1.558, allocations: 181.7 kB / 0.5609 GB, free: 7.344 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.558, allocations: 8 kB / 0.561 GB, free: 7.336 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/1.558, allocations: 85.33 kB / 0.561 GB, free: 7.258 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/1.559, allocations: 148 kB / 0.5612 GB, free: 7.125 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/1.56, allocations: 0.9789 MB / 0.5621 GB, free: 6.129 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/1.56, allocations: 161.2 kB / 0.5623 GB, free: 5.953 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.641e-05/1.56, allocations: 42 kB / 0.5623 GB, free: 5.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/1.56, allocations: 145.3 kB / 0.5625 GB, free: 5.77 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/1.56, allocations: 0 / 0.5625 GB, free: 5.77 MB / 490.7 MB Notification: Performance of Templates: time 0.04877/1.609, allocations: 52.27 MB / 0.6135 GB, free: 1.84 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.528383149765432]