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.4841/0.4841, allocations: 111.6 MB / 131.4 MB, free: 4.914 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.934e-06/1.934e-06, allocations: 0 / 176.5 MB, free: 8.973 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.698e-05, allocations: 2.312 kB / 176.5 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.Fluid.Examples.SimpleExamples.TestBend): time 1.032/1.032, allocations: 257.3 MB / 433.8 MB, free: 64 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3613/1.393, allocations: 181.1 MB / 0.6005 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/1.393, allocations: 11.94 kB / 0.6005 GB, free: 0.6523 MB / 0.5105 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.0002875/1.394, allocations: 207.1 kB / 0.6007 GB, free: 460 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.000313/1.394, allocations: 290.5 kB / 0.601 GB, free: 168 kB / 0.5105 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.02266/1.416, allocations: 12.59 MB / 0.6133 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000607/1.417, allocations: 0.5573 MB / 0.6138 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002723/1.417, allocations: 253.4 kB / 0.6141 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003487/1.418, allocations: 375.2 kB / 0.6144 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/1.418, allocations: 319.3 kB / 0.6147 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.346e-05/1.418, allocations: 40 kB / 0.6148 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02452/1.443, allocations: 19.73 MB / 0.634 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002009/1.443, allocations: 215.3 kB / 0.6342 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.000187/1.443, allocations: 195.4 kB / 0.6344 GB, free: 13.85 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01827/1.461, allocations: 13.16 MB / 0.6473 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.461, allocations: 0 / 0.6473 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.122e-06/1.461, allocations: 0 / 0.6473 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.181e-06/1.461, allocations: 0 / 0.6473 GB, free: 0.6602 MB / 0.5573 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.003199/1.464, allocations: 2.386 MB / 0.6496 GB, free: 14.22 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/1.464, allocations: 11.98 kB / 0.6496 GB, free: 14.21 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/1.465, allocations: 123.4 kB / 0.6497 GB, free: 14.09 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/1.465, allocations: 440.2 kB / 0.6501 GB, free: 13.62 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/1.465, allocations: 32.94 kB / 0.6502 GB, free: 13.59 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/1.465, allocations: 44 kB / 0.6502 GB, free: 13.55 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/1.465, allocations: 413 kB / 0.6506 GB, free: 13.09 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/1.465, allocations: 4.859 kB / 0.6506 GB, free: 13.08 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/1.465, allocations: 16 kB / 0.6506 GB, free: 13.07 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/1.465, allocations: 12 kB / 0.6506 GB, free: 13.05 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/1.466, allocations: 143 kB / 0.6508 GB, free: 12.92 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003814/1.469, allocations: 3.617 MB / 0.6543 GB, free: 9.242 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/1.47, allocations: 95.59 kB / 0.6544 GB, free: 9.137 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.178e-05/1.47, allocations: 24.81 kB / 0.6544 GB, free: 9.109 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3497/1.819, allocations: 77.71 MB / 0.7303 GB, free: 94.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/1.819, allocations: 38.98 kB / 0.7303 GB, free: 93.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.295e-06/1.819, allocations: 0 / 0.7303 GB, free: 93.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001176/1.821, allocations: 402.5 kB / 0.7307 GB, free: 93.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/1.821, allocations: 104.9 kB / 0.7308 GB, free: 93.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005557/1.821, allocations: 0.7745 MB / 0.7316 GB, free: 93.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/1.821, allocations: 29.58 kB / 0.7316 GB, free: 93.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000194/1.821, allocations: 461.9 kB / 0.7321 GB, free: 93.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/1.821, allocations: 44.61 kB / 0.7321 GB, free: 93.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.298e-05/1.821, allocations: 95.39 kB / 0.7322 GB, free: 93.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001021/1.822, allocations: 0.5677 MB / 0.7327 GB, free: 92.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.219e-05/1.822, allocations: 28.8 kB / 0.7328 GB, free: 92.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/1.822, allocations: 266.8 kB / 0.733 GB, free: 92.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/1.822, allocations: 245.4 kB / 0.7333 GB, free: 92.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.822, allocations: 4 kB / 0.7333 GB, free: 92.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006135/1.822, allocations: 434.7 kB / 0.7337 GB, free: 92.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/1.822, allocations: 8.781 kB / 0.7337 GB, free: 92.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.822, allocations: 3.625 kB / 0.7337 GB, free: 92.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006859/1.823, allocations: 154.8 kB / 0.7338 GB, free: 92.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.127e-05/1.823, allocations: 48.83 kB / 0.7339 GB, free: 92.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002788/1.824, allocations: 0.8581 MB / 0.7347 GB, free: 91.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/1.824, allocations: 32.62 kB / 0.7348 GB, free: 91.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/1.824, allocations: 24.02 kB / 0.7348 GB, free: 91.41 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 (Bend.C2.diff_on_1,SourceP1.C.diff_on_2,SourceP1.fluid1,Bend.fluid,SinkP1.fluid,SourceP1.C.ftype) * 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.0001078/1.824, allocations: 176.7 kB / 0.7349 GB, free: 91.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/1.824, allocations: 74.28 kB / 0.735 GB, free: 91.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/1.824, allocations: 245.2 kB / 0.7353 GB, free: 91.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/1.824, allocations: 3.344 kB / 0.7353 GB, free: 91.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/1.824, allocations: 0 / 0.7353 GB, free: 91.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.824, allocations: 1.594 kB / 0.7353 GB, free: 91.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008119/1.825, allocations: 0.7337 MB / 0.736 GB, free: 90.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/1.825, allocations: 0 / 0.736 GB, free: 90.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.458e-05/1.825, allocations: 4.438 kB / 0.736 GB, free: 90.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004248/1.825, allocations: 137.4 kB / 0.7361 GB, free: 90.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/1.825, allocations: 5.906 kB / 0.7361 GB, free: 90.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002458/1.826, allocations: 0.8606 MB / 0.737 GB, free: 90.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.826, allocations: 3.75 kB / 0.737 GB, free: 90.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005818/1.826, allocations: 0.511 MB / 0.7375 GB, free: 89.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.526e-05/1.826, allocations: 92.78 kB / 0.7375 GB, free: 89.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/1.826, allocations: 4.312 kB / 0.7375 GB, free: 89.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.315e-05/1.826, allocations: 6.344 kB / 0.7376 GB, free: 89.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/1.826, allocations: 9.797 kB / 0.7376 GB, free: 89.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/1.826, allocations: 7.922 kB / 0.7376 GB, free: 89.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002767/1.827, allocations: 469.8 kB / 0.738 GB, free: 89.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/1.827, allocations: 0 / 0.738 GB, free: 89.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003007/1.83, allocations: 1.668 MB / 0.7396 GB, free: 89.57 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.003794/1.834, allocations: 2.819 MB / 0.7424 GB, free: 89.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002486/1.834, allocations: 138.7 kB / 0.7425 GB, free: 89.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/1.834, allocations: 0 / 0.7425 GB, free: 89.26 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.735e-05/1.834, allocations: 49.2 kB / 0.7426 GB, free: 89.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/1.834, allocations: 100.2 kB / 0.7427 GB, free: 89.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/1.835, allocations: 0.9899 MB / 0.7436 GB, free: 88.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.661e-05/1.835, allocations: 163.6 kB / 0.7438 GB, free: 88.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.498e-05/1.836, allocations: 57.28 kB / 0.7439 GB, free: 88.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/1.836, allocations: 150.2 kB / 0.744 GB, free: 88.53 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/1.836, allocations: 0 / 0.744 GB, free: 88.53 MB / 0.6198 GB Notification: Performance of Templates: time 0.04572/1.881, allocations: 61.15 MB / 0.8037 GB, free: 42.52 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.644425802864134]