Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.473/0.473, allocations: 111.6 MB / 131.2 MB, free: 4.566 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.Fluid.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 176.2 MB, free: 9.156 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/2.029e-05, allocations: 2.312 kB / 176.2 MB, free: 9.152 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.Fluid.Examples.SimpleExamples.TestBend): time 1.026/1.026, allocations: 257.2 MB / 433.4 MB, free: 184 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3384/1.364, allocations: 184.5 MB / 0.6035 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002484/1.364, allocations: 15.88 kB / 0.6035 GB, free: 13.76 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:32:3-33:80:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Bend.mo:42:3-43:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Bend.mo:44:3-45:80:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003032/1.365, allocations: 195.2 kB / 0.6037 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003445/1.365, allocations: 298.4 kB / 0.604 GB, free: 13.28 MB / 0.5261 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:56:5-56:88:writable] Warning: T 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.02285/1.388, allocations: 12.59 MB / 0.6163 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005609/1.388, allocations: 0.5611 MB / 0.6168 GB, free: 88 kB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002795/1.389, allocations: 249.9 kB / 0.6171 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003517/1.389, allocations: 371.2 kB / 0.6174 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/1.389, allocations: 319.3 kB / 0.6177 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.683e-05/1.389, allocations: 40 kB / 0.6178 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02401/1.413, allocations: 19.73 MB / 0.637 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001812/1.414, allocations: 219.3 kB / 0.6372 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001577/1.414, allocations: 195.4 kB / 0.6374 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01818/1.432, allocations: 13.15 MB / 0.6503 GB, free: 13.77 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.432, allocations: 0 / 0.6503 GB, free: 13.77 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.773e-06/1.432, allocations: 0 / 0.6503 GB, free: 13.77 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.368e-06/1.432, allocations: 0 / 0.6503 GB, free: 13.77 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.004053/1.436, allocations: 2.39 MB / 0.6526 GB, free: 11.33 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/1.436, allocations: 11.98 kB / 0.6526 GB, free: 11.32 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/1.436, allocations: 127.4 kB / 0.6527 GB, free: 11.19 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004208/1.437, allocations: 452.3 kB / 0.6532 GB, free: 10.72 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/1.437, allocations: 32.94 kB / 0.6532 GB, free: 10.69 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/1.437, allocations: 36 kB / 0.6532 GB, free: 10.65 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/1.437, allocations: 445.6 kB / 0.6537 GB, free: 10.16 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/1.437, allocations: 4 kB / 0.6537 GB, free: 10.15 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/1.437, allocations: 16 kB / 0.6537 GB, free: 10.14 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/1.437, allocations: 19.88 kB / 0.6537 GB, free: 10.12 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002411/1.437, allocations: 171.7 kB / 0.6539 GB, free: 9.949 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004196/1.442, allocations: 3.789 MB / 0.6576 GB, free: 6.09 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/1.442, allocations: 95.61 kB / 0.6577 GB, free: 5.984 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.42e-05/1.442, allocations: 27.72 kB / 0.6577 GB, free: 5.953 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.376/1.818, allocations: 89.06 MB / 0.7447 GB, free: 90.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/1.818, allocations: 38.12 kB / 0.7447 GB, free: 90.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 3.046e-06/1.818, allocations: 0.9375 kB / 0.7447 GB, free: 90.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001178/1.819, allocations: 362.6 kB / 0.745 GB, free: 90.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/1.819, allocations: 106 kB / 0.7451 GB, free: 89.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006207/1.82, allocations: 0.7906 MB / 0.7459 GB, free: 89.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/1.82, allocations: 31.17 kB / 0.7459 GB, free: 89.67 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/1.82, allocations: 451.6 kB / 0.7464 GB, free: 89.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/1.82, allocations: 50.31 kB / 0.7464 GB, free: 89.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.863e-05/1.82, allocations: 82.23 kB / 0.7465 GB, free: 89.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001028/1.82, allocations: 0.5634 MB / 0.747 GB, free: 88.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.996e-05/1.82, allocations: 37.12 kB / 0.7471 GB, free: 88.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/1.82, allocations: 271.6 kB / 0.7473 GB, free: 88.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/1.821, allocations: 267.4 kB / 0.7476 GB, free: 88.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.821, allocations: 2.031 kB / 0.7476 GB, free: 88.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006357/1.821, allocations: 392.1 kB / 0.748 GB, free: 88.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/1.821, allocations: 3.719 kB / 0.748 GB, free: 88.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/1.821, allocations: 7.047 kB / 0.748 GB, free: 88.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006622/1.822, allocations: 158.1 kB / 0.7481 GB, free: 88.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.036e-05/1.822, allocations: 46.62 kB / 0.7482 GB, free: 88.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00031/1.822, allocations: 0.8633 MB / 0.749 GB, free: 87.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/1.822, allocations: 43 kB / 0.7491 GB, free: 87.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/1.822, allocations: 15.66 kB / 0.7491 GB, free: 87.52 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,SinkP1.fluid,Bend.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Bend.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001041/1.823, allocations: 178.9 kB / 0.7492 GB, free: 87.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/1.823, allocations: 78.06 kB / 0.7493 GB, free: 87.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003469/1.823, allocations: 223.4 kB / 0.7495 GB, free: 87.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/1.823, allocations: 1.312 kB / 0.7495 GB, free: 87.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/1.823, allocations: 4.359 kB / 0.7495 GB, free: 87.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/1.823, allocations: 5.297 kB / 0.7495 GB, free: 87.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008797/1.824, allocations: 0.7741 MB / 0.7503 GB, free: 86.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/1.824, allocations: 1.266 kB / 0.7503 GB, free: 86.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.376e-05/1.824, allocations: 5.188 kB / 0.7503 GB, free: 86.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004475/1.824, allocations: 134.1 kB / 0.7504 GB, free: 86.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/1.824, allocations: 3.406 kB / 0.7504 GB, free: 86.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000247/1.825, allocations: 0.8687 MB / 0.7513 GB, free: 86.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.825, allocations: 32 / 0.7513 GB, free: 86.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000569/1.825, allocations: 453.7 kB / 0.7517 GB, free: 85.85 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-05/1.825, allocations: 101 kB / 0.7518 GB, free: 85.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/1.825, allocations: 5.188 kB / 0.7518 GB, free: 85.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.439e-05/1.825, allocations: 10.28 kB / 0.7518 GB, free: 85.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/1.825, allocations: 15.22 kB / 0.7518 GB, free: 85.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/1.825, allocations: 3.344 kB / 0.7518 GB, free: 85.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003324/1.826, allocations: 497.5 kB / 0.7523 GB, free: 85.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/1.826, allocations: 0 / 0.7523 GB, free: 85.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00275/1.828, allocations: 1.677 MB / 0.754 GB, free: 85.66 MB / 0.6198 GB 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 (3): * Single equations (assignments): 2 * 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.004309/1.833, allocations: 2.721 MB / 0.7566 GB, free: 85.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002877/1.833, allocations: 146.8 kB / 0.7568 GB, free: 85.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.833, allocations: 0 / 0.7568 GB, free: 85.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.214e-05/1.833, allocations: 50.11 kB / 0.7568 GB, free: 85.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/1.834, allocations: 97.92 kB / 0.7569 GB, free: 85.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/1.835, allocations: 0.9917 MB / 0.7579 GB, free: 84.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.837e-05/1.835, allocations: 164.6 kB / 0.758 GB, free: 84.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.859e-05/1.835, allocations: 56.02 kB / 0.7581 GB, free: 84.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.796e-05/1.835, allocations: 36.42 kB / 0.7581 GB, free: 84.63 MB / 0.6198 GB Notification: Performance of SimCode: time 1.173e-06/1.835, allocations: 0 / 0.7581 GB, free: 84.63 MB / 0.6198 GB Notification: Performance of Templates: time 0.048/1.883, allocations: 64.93 MB / 0.8215 GB, free: 24.74 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.111188735347241]