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.5167/0.5167, allocations: 111.6 MB / 131.2 MB, free: 4.605 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 2.194e-06/2.194e-06, allocations: 0 / 176.2 MB, free: 9.176 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.387e-05, allocations: 4.984 kB / 176.2 MB, free: 9.172 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.052/1.052, allocations: 257.2 MB / 433.4 MB, free: 204 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3253/1.377, allocations: 184.5 MB / 0.6035 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002297/1.377, allocations: 11.94 kB / 0.6035 GB, free: 13.82 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.0003146/1.378, allocations: 207.1 kB / 0.6037 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003584/1.378, allocations: 294.4 kB / 0.604 GB, free: 13.32 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.02264/1.401, allocations: 12.58 MB / 0.6163 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005927/1.401, allocations: 0.5612 MB / 0.6168 GB, free: 144 kB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000299/1.402, allocations: 257.9 kB / 0.6171 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003722/1.402, allocations: 367.1 kB / 0.6174 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002722/1.402, allocations: 327.3 kB / 0.6177 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.747e-05/1.402, allocations: 40 kB / 0.6178 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02521/1.427, allocations: 19.72 MB / 0.637 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002041/1.428, allocations: 223.3 kB / 0.6372 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001968/1.428, allocations: 199.4 kB / 0.6374 GB, free: 11 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01773/1.446, allocations: 13.14 MB / 0.6503 GB, free: 13.82 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.446, allocations: 4 kB / 0.6503 GB, free: 13.82 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.153e-06/1.446, allocations: 0 / 0.6503 GB, free: 13.82 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.704e-06/1.446, allocations: 0 / 0.6503 GB, free: 13.82 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.003617/1.449, allocations: 2.398 MB / 0.6526 GB, free: 11.37 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/1.449, allocations: 11.98 kB / 0.6526 GB, free: 11.36 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/1.449, allocations: 119.4 kB / 0.6527 GB, free: 11.24 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/1.45, allocations: 456.3 kB / 0.6532 GB, free: 10.77 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/1.45, allocations: 32.94 kB / 0.6532 GB, free: 10.73 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/1.45, allocations: 40.62 kB / 0.6532 GB, free: 10.7 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004286/1.45, allocations: 437 kB / 0.6537 GB, free: 10.21 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/1.45, allocations: 7.938 kB / 0.6537 GB, free: 10.2 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/1.45, allocations: 16 kB / 0.6537 GB, free: 10.18 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/1.45, allocations: 12 kB / 0.6537 GB, free: 10.17 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/1.451, allocations: 175.7 kB / 0.6539 GB, free: 10 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004444/1.455, allocations: 3.777 MB / 0.6575 GB, free: 6.152 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/1.455, allocations: 111 kB / 0.6577 GB, free: 6.031 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.963e-05/1.455, allocations: 35.66 kB / 0.6577 GB, free: 5.992 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3566/1.812, allocations: 89.02 MB / 0.7446 GB, free: 90.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/1.812, allocations: 33.39 kB / 0.7446 GB, free: 90.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.793e-06/1.812, allocations: 4 kB / 0.7447 GB, free: 90.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001186/1.813, allocations: 357.8 kB / 0.745 GB, free: 90.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/1.813, allocations: 109.4 kB / 0.7451 GB, free: 89.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005871/1.814, allocations: 0.7917 MB / 0.7459 GB, free: 89.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/1.814, allocations: 32.39 kB / 0.7459 GB, free: 89.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/1.814, allocations: 454.7 kB / 0.7463 GB, free: 89.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/1.814, allocations: 44.08 kB / 0.7464 GB, free: 89.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.552e-05/1.814, allocations: 89.2 kB / 0.7465 GB, free: 89.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.786e-05/1.814, allocations: 0.5612 MB / 0.747 GB, free: 89.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.526e-05/1.814, allocations: 35.5 kB / 0.747 GB, free: 89.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/1.814, allocations: 269.6 kB / 0.7473 GB, free: 88.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/1.815, allocations: 271.5 kB / 0.7476 GB, free: 88.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.815, allocations: 0 / 0.7476 GB, free: 88.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000662/1.815, allocations: 394.4 kB / 0.7479 GB, free: 88.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/1.815, allocations: 8.297 kB / 0.7479 GB, free: 88.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.815, allocations: 3.5 kB / 0.7479 GB, free: 88.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007126/1.816, allocations: 169.4 kB / 0.7481 GB, free: 88.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.118e-05/1.816, allocations: 47.08 kB / 0.7482 GB, free: 88.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003124/1.816, allocations: 0.8741 MB / 0.749 GB, free: 87.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/1.817, allocations: 35.53 kB / 0.749 GB, free: 87.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/1.817, allocations: 18.77 kB / 0.7491 GB, free: 87.57 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.0001031/1.817, allocations: 179 kB / 0.7492 GB, free: 87.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/1.817, allocations: 68.17 kB / 0.7493 GB, free: 87.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000365/1.817, allocations: 230 kB / 0.7495 GB, free: 87.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/1.817, allocations: 0 / 0.7495 GB, free: 87.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.817, allocations: 4.922 kB / 0.7495 GB, free: 87.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/1.817, allocations: 3.188 kB / 0.7495 GB, free: 87.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009045/1.818, allocations: 0.7775 MB / 0.7503 GB, free: 86.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.818, allocations: 3 kB / 0.7503 GB, free: 86.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.432e-05/1.818, allocations: 4.344 kB / 0.7503 GB, free: 86.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004801/1.818, allocations: 142.2 kB / 0.7504 GB, free: 86.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/1.818, allocations: 6.781 kB / 0.7504 GB, free: 86.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000247/1.819, allocations: 0.8633 MB / 0.7513 GB, free: 86.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.819, allocations: 7.266 kB / 0.7513 GB, free: 86.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005725/1.819, allocations: 445.4 kB / 0.7517 GB, free: 85.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/1.819, allocations: 100.8 kB / 0.7518 GB, free: 85.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/1.819, allocations: 5.531 kB / 0.7518 GB, free: 85.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.87e-05/1.82, allocations: 8.516 kB / 0.7518 GB, free: 85.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/1.82, allocations: 14.86 kB / 0.7518 GB, free: 85.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/1.82, allocations: 7.562 kB / 0.7518 GB, free: 85.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003167/1.82, allocations: 0.4884 MB / 0.7523 GB, free: 85.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/1.82, allocations: 0 / 0.7523 GB, free: 85.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002629/1.823, allocations: 1.676 MB / 0.754 GB, free: 85.71 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.004247/1.827, allocations: 2.718 MB / 0.7566 GB, free: 85.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003309/1.827, allocations: 140.3 kB / 0.7567 GB, free: 85.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.827, allocations: 0 / 0.7567 GB, free: 85.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.129e-05/1.827, allocations: 61.05 kB / 0.7568 GB, free: 85.35 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/1.828, allocations: 92.67 kB / 0.7569 GB, free: 85.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/1.829, allocations: 0.9891 MB / 0.7579 GB, free: 84.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.869e-05/1.829, allocations: 164.2 kB / 0.758 GB, free: 84.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.75e-05/1.829, allocations: 63.89 kB / 0.7581 GB, free: 84.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.254e-05/1.829, allocations: 35.58 kB / 0.7581 GB, free: 84.69 MB / 0.6198 GB Notification: Performance of SimCode: time 9.22e-07/1.829, allocations: 0 / 0.7581 GB, free: 84.69 MB / 0.6198 GB Notification: Performance of Templates: time 0.03872/1.868, allocations: 52.34 MB / 0.8092 GB, free: 37.45 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: 5.6434426018968225]