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.497/0.497, allocations: 111.6 MB / 131.5 MB, free: 4.922 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 2.134e-06/2.134e-06, allocations: 0 / 176.6 MB, free: 8.93 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.913e-05, allocations: 5.047 kB / 176.6 MB, free: 8.926 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.204/1.204, allocations: 263 MB / 439.6 MB, free: 9.402 MB / 394.9 MB Notification: Performance of NFInst.instExpressions: time 0.02953/1.234, allocations: 33.57 MB / 473.2 MB, free: 7.711 MB / 426.9 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000232/1.234, allocations: 4 kB / 473.2 MB, free: 7.707 MB / 426.9 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.0004819/1.234, allocations: 263 kB / 473.4 MB, free: 7.449 MB / 426.9 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/1.235, allocations: 286.7 kB / 473.7 MB, free: 7.168 MB / 426.9 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.01935/1.254, allocations: 10.11 MB / 483.8 MB, free: 13.02 MB / 442.9 MB Notification: Performance of NFFlatten.flatten: time 0.000701/1.255, allocations: 0.5063 MB / 484.3 MB, free: 12.5 MB / 442.9 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/1.255, allocations: 174.7 kB / 484.5 MB, free: 12.34 MB / 442.9 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003483/1.255, allocations: 331.1 kB / 484.8 MB, free: 12.01 MB / 442.9 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/1.256, allocations: 247.5 kB / 485.1 MB, free: 11.77 MB / 442.9 MB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/1.256, allocations: 28 kB / 485.1 MB, free: 11.74 MB / 442.9 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2241/1.48, allocations: 16.9 MB / 0.4902 GB, free: 17.61 MB / 442.9 MB Notification: Performance of NFScalarize.scalarize: time 0.0002001/1.48, allocations: 174.7 kB / 0.4904 GB, free: 17.61 MB / 442.9 MB Notification: Performance of NFVerifyModel.verify: time 0.0002722/1.48, allocations: 157 kB / 0.4905 GB, free: 17.61 MB / 442.9 MB Notification: Performance of NFConvertDAE.convert: time 0.02001/1.5, allocations: 11.05 MB / 0.5013 GB, free: 17.38 MB / 442.9 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/1.5, allocations: 3.938 kB / 0.5013 GB, free: 17.38 MB / 442.9 MB Notification: Performance of FrontEnd: time 1.553e-06/1.5, allocations: 0 / 0.5013 GB, free: 17.38 MB / 442.9 MB Notification: Performance of Transformations before backend: time 1.235e-05/1.5, allocations: 0 / 0.5013 GB, free: 17.38 MB / 442.9 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.005096/1.505, allocations: 1.754 MB / 0.5031 GB, free: 16.36 MB / 442.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/1.505, allocations: 13.48 kB / 0.5031 GB, free: 16.36 MB / 442.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/1.506, allocations: 62.83 kB / 0.5031 GB, free: 16.36 MB / 442.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/1.506, allocations: 332 kB / 0.5034 GB, free: 16.12 MB / 442.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/1.506, allocations: 20.47 kB / 0.5035 GB, free: 16.12 MB / 442.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/1.506, allocations: 23.44 kB / 0.5035 GB, free: 16.12 MB / 442.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/1.506, allocations: 338.4 kB / 0.5038 GB, free: 15.93 MB / 442.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/1.506, allocations: 3.875 kB / 0.5038 GB, free: 15.93 MB / 442.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/1.506, allocations: 6.875 kB / 0.5038 GB, free: 15.93 MB / 442.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/1.506, allocations: 17.92 kB / 0.5038 GB, free: 15.93 MB / 442.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/1.506, allocations: 92.22 kB / 0.5039 GB, free: 15.93 MB / 442.9 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.01731/1.524, allocations: 9.417 MB / 0.5131 GB, free: 14.28 MB / 442.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/1.524, allocations: 138 kB / 0.5132 GB, free: 14.2 MB / 442.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.851e-05/1.524, allocations: 38.25 kB / 0.5133 GB, free: 14.18 MB / 442.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06478/1.589, allocations: 39.08 MB / 0.5515 GB, free: 10.94 MB / 474.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/1.589, allocations: 34.55 kB / 0.5515 GB, free: 10.9 MB / 474.9 MB Notification: Performance of pre-optimization done (n=38): time 2.034e-06/1.589, allocations: 0 / 0.5515 GB, free: 10.9 MB / 474.9 MB Notification: Performance of matching and sorting (n=38): time 0.0008937/1.59, allocations: 320.7 kB / 0.5518 GB, free: 10.58 MB / 474.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/1.59, allocations: 110.8 kB / 0.5519 GB, free: 10.45 MB / 474.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005015/1.59, allocations: 0.5921 MB / 0.5525 GB, free: 9.922 MB / 474.9 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/1.59, allocations: 29.7 kB / 0.5525 GB, free: 9.887 MB / 474.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/1.59, allocations: 233.3 kB / 0.5527 GB, free: 9.68 MB / 474.9 MB Notification: Performance of collectInitialBindings (initialization): time 5.882e-05/1.591, allocations: 131.2 kB / 0.5529 GB, free: 9.559 MB / 474.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.886e-05/1.591, allocations: 61.83 kB / 0.5529 GB, free: 9.504 MB / 474.9 MB Notification: Performance of setup shared object (initialization): time 0.000109/1.591, allocations: 378.2 kB / 0.5533 GB, free: 9.156 MB / 474.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.574e-05/1.591, allocations: 35.31 kB / 0.5533 GB, free: 9.121 MB / 474.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/1.591, allocations: 162 kB / 0.5535 GB, free: 8.938 MB / 474.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/1.591, allocations: 164.1 kB / 0.5536 GB, free: 8.762 MB / 474.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.591, allocations: 0 / 0.5536 GB, free: 8.762 MB / 474.9 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005422/1.592, allocations: 246.7 kB / 0.5538 GB, free: 8.527 MB / 474.9 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/1.592, allocations: 8 kB / 0.5539 GB, free: 8.52 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/1.592, allocations: 3.938 kB / 0.5539 GB, free: 8.516 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006733/1.592, allocations: 163.4 kB / 0.554 GB, free: 8.359 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.96e-05/1.592, allocations: 23.36 kB / 0.554 GB, free: 8.34 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003313/1.593, allocations: 0.595 MB / 0.5546 GB, free: 7.727 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/1.593, allocations: 39.7 kB / 0.5547 GB, free: 7.688 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/1.593, allocations: 11.12 kB / 0.5547 GB, free: 7.68 MB / 474.9 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.0001216/1.593, allocations: 127 kB / 0.5548 GB, free: 7.547 MB / 474.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/1.593, allocations: 35.91 kB / 0.5548 GB, free: 7.512 MB / 474.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004266/1.593, allocations: 0.5772 MB / 0.5554 GB, free: 6.965 MB / 474.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001092/1.594, allocations: 140.2 kB / 0.5555 GB, free: 6.824 MB / 474.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/1.594, allocations: 0 / 0.5555 GB, free: 6.824 MB / 474.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.594, allocations: 3.984 kB / 0.5555 GB, free: 6.82 MB / 474.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005809/1.594, allocations: 0.6273 MB / 0.5561 GB, free: 6.219 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/1.594, allocations: 1.25 kB / 0.5561 GB, free: 6.219 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.274e-05/1.594, allocations: 18.81 kB / 0.5562 GB, free: 6.203 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003548/1.594, allocations: 131.5 kB / 0.5563 GB, free: 6.074 MB / 474.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/1.595, allocations: 11.92 kB / 0.5563 GB, free: 6.062 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003526/1.595, allocations: 0.6297 MB / 0.5569 GB, free: 5.418 MB / 474.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.595, allocations: 4 kB / 0.5569 GB, free: 5.414 MB / 474.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/1.595, allocations: 337.4 kB / 0.5572 GB, free: 5.07 MB / 474.9 MB Notification: Performance of postOpt removeConstants (simulation): time 7.947e-05/1.595, allocations: 73.61 kB / 0.5573 GB, free: 5 MB / 474.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/1.595, allocations: 11.89 kB / 0.5573 GB, free: 4.988 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.373e-05/1.595, allocations: 12.91 kB / 0.5573 GB, free: 4.977 MB / 474.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/1.595, allocations: 11.97 kB / 0.5573 GB, free: 4.965 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/1.595, allocations: 8 kB / 0.5573 GB, free: 4.957 MB / 474.9 MB Notification: Performance of sorting global known variables: time 0.0002257/1.596, allocations: 305.3 kB / 0.5576 GB, free: 4.688 MB / 474.9 MB Notification: Performance of sort global known variables: time 5e-08/1.596, allocations: 0 / 0.5576 GB, free: 4.688 MB / 474.9 MB Notification: Performance of remove unused functions: time 0.004432/1.6, allocations: 1.274 MB / 0.5589 GB, free: 3.41 MB / 474.9 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.004721/1.605, allocations: 2.103 MB / 0.5609 GB, free: 1.551 MB / 474.9 MB Notification: Performance of simCode: created initialization part: time 0.0003929/1.605, allocations: 196.2 kB / 0.5611 GB, free: 1.367 MB / 474.9 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/1.605, allocations: 4 kB / 0.5611 GB, free: 1.363 MB / 474.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/1.605, allocations: 74.94 kB / 0.5612 GB, free: 1.293 MB / 474.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005654/1.606, allocations: 144.2 kB / 0.5613 GB, free: 1.16 MB / 474.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/1.607, allocations: 0.9873 MB / 0.5623 GB, free: 160 kB / 474.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/1.607, allocations: 165.2 kB / 0.5625 GB, free: 15.98 MB / 490.9 MB Notification: Performance of simCode: alias equations: time 0.0001051/1.607, allocations: 46.55 kB / 0.5625 GB, free: 15.93 MB / 490.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/1.607, allocations: 137.3 kB / 0.5626 GB, free: 15.8 MB / 490.9 MB Notification: Performance of SimCode: time 1.242e-06/1.607, allocations: 3.938 kB / 0.5626 GB, free: 15.79 MB / 490.9 MB Notification: Performance of Templates: time 0.05222/1.66, allocations: 52.27 MB / 0.6137 GB, free: 11.83 MB / 0.5263 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.297469986137003]