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.8191/0.8191, allocations: 111.6 MB / 131 MB, free: 5.09 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 2.184e-06/2.184e-06, allocations: 0 / 175.6 MB, free: 9.531 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.048e-05/3.266e-05, allocations: 5.125 kB / 175.6 MB, free: 9.527 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.74/1.74, allocations: 254.7 MB / 430.4 MB, free: 408 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.05821/1.799, allocations: 33.5 MB / 463.9 MB, free: 14.77 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003368/1.799, allocations: 4 kB / 463.9 MB, free: 14.77 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.0007361/1.8, allocations: 267 kB / 464.2 MB, free: 14.5 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004921/1.8, allocations: 286.7 kB / 464.4 MB, free: 14.22 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.03209/1.832, allocations: 10.03 MB / 474.5 MB, free: 4.152 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001037/1.833, allocations: 0.5102 MB / 475 MB, free: 3.641 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003207/1.834, allocations: 172.7 kB / 475.2 MB, free: 3.473 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005553/1.834, allocations: 339.1 kB / 475.5 MB, free: 3.141 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004538/1.835, allocations: 279.5 kB / 475.8 MB, free: 2.867 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.825e-05/1.835, allocations: 24 kB / 475.8 MB, free: 2.844 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04055/1.875, allocations: 16.92 MB / 492.7 MB, free: 1.898 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003432/1.876, allocations: 171.5 kB / 492.9 MB, free: 1.73 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003558/1.876, allocations: 159.5 kB / 493 MB, free: 1.574 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2644/2.14, allocations: 11.25 MB / 0.4925 GB, free: 18.04 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/2.14, allocations: 0 / 0.4925 GB, free: 18.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.633e-06/2.14, allocations: 0 / 0.4925 GB, free: 18.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.07e-05/2.14, allocations: 2.656 kB / 0.4925 GB, free: 18.04 MB / 442.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.006286/2.147, allocations: 1.963 MB / 0.4944 GB, free: 16.9 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/2.147, allocations: 9.969 kB / 0.4944 GB, free: 16.9 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002102/2.147, allocations: 96.08 kB / 0.4945 GB, free: 16.86 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/2.147, allocations: 364.6 kB / 0.4948 GB, free: 16.64 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/2.147, allocations: 18.97 kB / 0.4948 GB, free: 16.64 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/2.147, allocations: 25.28 kB / 0.4949 GB, free: 16.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004774/2.148, allocations: 418.5 kB / 0.4953 GB, free: 16.42 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/2.148, allocations: 6.156 kB / 0.4953 GB, free: 16.42 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/2.148, allocations: 8.75 kB / 0.4953 GB, free: 16.42 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/2.148, allocations: 18.09 kB / 0.4953 GB, free: 16.42 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/2.148, allocations: 168.1 kB / 0.4955 GB, free: 16.42 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.03446/2.183, allocations: 11.71 MB / 0.5069 GB, free: 14.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005451/2.183, allocations: 132.7 kB / 0.507 GB, free: 14.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.464e-05/2.183, allocations: 59 kB / 0.5071 GB, free: 14.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1585/2.342, allocations: 43.8 MB / 0.5498 GB, free: 11.25 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/2.342, allocations: 33.39 kB / 0.5499 GB, free: 11.21 MB / 474.7 MB Notification: Performance of pre-optimization done (n=38): time 1.764e-06/2.342, allocations: 0 / 0.5499 GB, free: 11.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=38): time 0.002143/2.344, allocations: 456.2 kB / 0.5503 GB, free: 10.81 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/2.344, allocations: 114.7 kB / 0.5504 GB, free: 10.68 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/2.346, allocations: 0.8079 MB / 0.5512 GB, free: 10.04 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/2.346, allocations: 25.7 kB / 0.5512 GB, free: 10.01 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004644/2.346, allocations: 411.3 kB / 0.5516 GB, free: 9.73 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/2.347, allocations: 138.1 kB / 0.5518 GB, free: 9.617 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/2.347, allocations: 83.67 kB / 0.5518 GB, free: 9.551 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000496/2.347, allocations: 0.6087 MB / 0.5524 GB, free: 8.992 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/2.347, allocations: 60.34 kB / 0.5525 GB, free: 8.938 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003335/2.348, allocations: 238.7 kB / 0.5527 GB, free: 8.656 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004656/2.348, allocations: 247.2 kB / 0.553 GB, free: 8.387 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/2.348, allocations: 0 / 0.553 GB, free: 8.387 MB / 474.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000916/2.349, allocations: 372.7 kB / 0.5533 GB, free: 8.023 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/2.349, allocations: 8 kB / 0.5533 GB, free: 8.016 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/2.349, allocations: 4.219 kB / 0.5533 GB, free: 8.012 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001692/2.351, allocations: 212.7 kB / 0.5535 GB, free: 7.805 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.112e-05/2.351, allocations: 27.27 kB / 0.5536 GB, free: 7.781 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009765/2.352, allocations: 0.9569 MB / 0.5545 GB, free: 6.797 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/2.352, allocations: 27.73 kB / 0.5545 GB, free: 6.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/2.352, allocations: 12 kB / 0.5545 GB, free: 6.758 MB / 474.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 (Bend.C2.b,Bend.C1.a,SinkP1.C.a,SourceP1.C.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.0002491/2.352, allocations: 191.9 kB / 0.5547 GB, free: 6.562 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/2.353, allocations: 72.36 kB / 0.5548 GB, free: 6.492 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/2.354, allocations: 0.811 MB / 0.5556 GB, free: 5.594 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003804/2.354, allocations: 209.3 kB / 0.5558 GB, free: 5.379 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/2.354, allocations: 0.8125 kB / 0.5558 GB, free: 5.379 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/2.354, allocations: 0 / 0.5558 GB, free: 5.379 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/2.356, allocations: 1.016 MB / 0.5568 GB, free: 4.328 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/2.356, allocations: 0 / 0.5568 GB, free: 4.328 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.557e-05/2.356, allocations: 20 kB / 0.5568 GB, free: 4.309 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009026/2.357, allocations: 162.8 kB / 0.5569 GB, free: 4.148 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/2.357, allocations: 1.406 kB / 0.5569 GB, free: 4.148 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008999/2.358, allocations: 0.934 MB / 0.5579 GB, free: 3.184 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/2.358, allocations: 0 / 0.5579 GB, free: 3.184 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006314/2.359, allocations: 458.2 kB / 0.5583 GB, free: 2.711 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/2.359, allocations: 87.53 kB / 0.5584 GB, free: 2.625 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.362e-05/2.359, allocations: 12.52 kB / 0.5584 GB, free: 2.613 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/2.359, allocations: 9.969 kB / 0.5584 GB, free: 2.605 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/2.359, allocations: 15.97 kB / 0.5584 GB, free: 2.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/2.359, allocations: 4 kB / 0.5584 GB, free: 2.586 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008872/2.36, allocations: 0.5576 MB / 0.559 GB, free: 2.031 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/2.36, allocations: 0 / 0.559 GB, free: 2.031 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005317/2.365, allocations: 1.286 MB / 0.5602 GB, free: 0.7461 MB / 474.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.009505/2.375, allocations: 1.959 MB / 0.5621 GB, free: 15.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009763/2.376, allocations: 257.5 kB / 0.5624 GB, free: 14.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/2.376, allocations: 448 / 0.5624 GB, free: 14.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003684/2.376, allocations: 125.1 kB / 0.5625 GB, free: 14.66 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/2.377, allocations: 137.1 kB / 0.5626 GB, free: 14.53 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/2.379, allocations: 0.9904 MB / 0.5636 GB, free: 13.51 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/2.38, allocations: 325.3 kB / 0.5639 GB, free: 13.17 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001655/2.38, allocations: 45.72 kB / 0.5639 GB, free: 13.13 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.487e-05/2.38, allocations: 28.5 kB / 0.564 GB, free: 13.11 MB / 490.7 MB Notification: Performance of SimCode: time 1.463e-06/2.38, allocations: 0 / 0.564 GB, free: 13.11 MB / 490.7 MB Notification: Performance of Templates: time 0.07937/2.46, allocations: 45.98 MB / 0.6089 GB, free: 15.41 MB / 0.5261 GB " [Timeout remaining time 657] 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: 8.55121901188977]