Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.4602/0.4602, allocations: 111.6 MB / 131.4 MB, free: 4.969 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.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 176.5 MB, free: 9.035 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.809e-06/1.152e-05, allocations: 6.312 kB / 176.5 MB, free: 9.027 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.Book.SimpleExamples.PressureLoss.TestBend): time 1.005/1.005, allocations: 257.2 MB / 433.7 MB, free: 144 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3201/1.325, allocations: 181.1 MB / 0.6004 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/1.326, allocations: 15.88 kB / 0.6004 GB, free: 0.8008 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.0002779/1.326, allocations: 199.2 kB / 0.6006 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003164/1.326, allocations: 290.5 kB / 0.6008 GB, free: 328 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.02092/1.347, allocations: 12.59 MB / 0.6131 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005209/1.348, allocations: 0.5573 MB / 0.6137 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004122/1.348, allocations: 249.4 kB / 0.6139 GB, free: 2.883 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003659/1.348, allocations: 371.1 kB / 0.6143 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/1.349, allocations: 319.3 kB / 0.6146 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.268e-05/1.349, allocations: 44 kB / 0.6146 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02291/1.372, allocations: 19.73 MB / 0.6339 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001844/1.372, allocations: 223.3 kB / 0.6341 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001744/1.372, allocations: 199.4 kB / 0.6343 GB, free: 14 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01699/1.389, allocations: 13.15 MB / 0.6471 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/1.389, allocations: 0 / 0.6471 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.322e-06/1.389, allocations: 0 / 0.6471 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.623e-06/1.389, allocations: 4 kB / 0.6471 GB, free: 0.8086 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.003746/1.393, allocations: 2.39 MB / 0.6495 GB, free: 14.37 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/1.393, allocations: 11.98 kB / 0.6495 GB, free: 14.36 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/1.393, allocations: 123.9 kB / 0.6496 GB, free: 14.23 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/1.393, allocations: 440.3 kB / 0.65 GB, free: 13.77 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/1.393, allocations: 32.94 kB / 0.6501 GB, free: 13.74 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/1.393, allocations: 36 kB / 0.6501 GB, free: 13.71 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/1.394, allocations: 420.9 kB / 0.6505 GB, free: 13.23 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/1.394, allocations: 3.938 kB / 0.6505 GB, free: 13.23 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/1.394, allocations: 16 kB / 0.6505 GB, free: 13.21 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/1.394, allocations: 8.688 kB / 0.6505 GB, free: 13.21 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/1.394, allocations: 143 kB / 0.6507 GB, free: 13.07 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003859/1.398, allocations: 3.612 MB / 0.6542 GB, free: 9.398 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/1.398, allocations: 91.59 kB / 0.6543 GB, free: 9.297 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.232e-05/1.398, allocations: 27.72 kB / 0.6543 GB, free: 9.266 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3136/1.712, allocations: 77.71 MB / 0.7302 GB, free: 94.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/1.712, allocations: 39.7 kB / 0.7302 GB, free: 94.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.044e-06/1.712, allocations: 0 / 0.7302 GB, free: 94.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001052/1.713, allocations: 403.8 kB / 0.7306 GB, free: 94.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.062e-05/1.713, allocations: 106.8 kB / 0.7307 GB, free: 93.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005073/1.713, allocations: 0.7773 MB / 0.7315 GB, free: 93.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/1.713, allocations: 27.98 kB / 0.7315 GB, free: 93.67 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/1.713, allocations: 460.7 kB / 0.7319 GB, free: 93.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/1.713, allocations: 43.55 kB / 0.732 GB, free: 93.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.93e-05/1.714, allocations: 88.38 kB / 0.7321 GB, free: 93.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.756e-05/1.714, allocations: 0.5675 MB / 0.7326 GB, free: 92.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.787e-05/1.714, allocations: 25.88 kB / 0.7326 GB, free: 92.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.815e-05/1.714, allocations: 275.7 kB / 0.7329 GB, free: 92.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/1.714, allocations: 245.2 kB / 0.7331 GB, free: 92.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.714, allocations: 3.469 kB / 0.7331 GB, free: 92.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000566/1.714, allocations: 433.1 kB / 0.7336 GB, free: 92.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/1.714, allocations: 13.12 kB / 0.7336 GB, free: 92.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/1.714, allocations: 3.406 kB / 0.7336 GB, free: 92.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005645/1.715, allocations: 151.7 kB / 0.7337 GB, free: 92.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.759e-05/1.715, allocations: 51.86 kB / 0.7338 GB, free: 92.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002396/1.715, allocations: 0.8592 MB / 0.7346 GB, free: 91.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/1.715, allocations: 32.75 kB / 0.7346 GB, free: 91.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/1.715, allocations: 17.02 kB / 0.7347 GB, free: 91.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 (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 9.923e-05/1.716, allocations: 174.5 kB / 0.7348 GB, free: 91.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/1.716, allocations: 79.97 kB / 0.7349 GB, free: 91.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/1.716, allocations: 239.7 kB / 0.7351 GB, free: 91.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/1.716, allocations: 5.266 kB / 0.7351 GB, free: 91.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/1.716, allocations: 0 / 0.7351 GB, free: 91.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/1.716, allocations: 0 / 0.7351 GB, free: 91.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007802/1.717, allocations: 0.7335 MB / 0.7358 GB, free: 90.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.717, allocations: 0 / 0.7358 GB, free: 90.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-05/1.717, allocations: 8.844 kB / 0.7359 GB, free: 90.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004054/1.717, allocations: 130.5 kB / 0.736 GB, free: 90.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/1.717, allocations: 4.031 kB / 0.736 GB, free: 90.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002016/1.717, allocations: 0.8597 MB / 0.7368 GB, free: 90.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.717, allocations: 3.75 kB / 0.7368 GB, free: 90.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005567/1.718, allocations: 0.5087 MB / 0.7373 GB, free: 89.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.533e-05/1.718, allocations: 96.12 kB / 0.7374 GB, free: 89.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/1.718, allocations: 12.03 kB / 0.7374 GB, free: 89.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/1.718, allocations: 0 / 0.7374 GB, free: 89.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/1.718, allocations: 17.17 kB / 0.7374 GB, free: 89.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/1.718, allocations: 4.312 kB / 0.7374 GB, free: 89.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002618/1.718, allocations: 464.1 kB / 0.7379 GB, free: 89.69 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/1.718, allocations: 0 / 0.7379 GB, free: 89.69 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002406/1.721, allocations: 1.678 MB / 0.7395 GB, free: 89.68 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.003677/1.724, allocations: 2.817 MB / 0.7423 GB, free: 89.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002273/1.725, allocations: 134 kB / 0.7424 GB, free: 89.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.725, allocations: 7.844 kB / 0.7424 GB, free: 89.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.219e-05/1.725, allocations: 46.14 kB / 0.7425 GB, free: 89.35 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/1.725, allocations: 89.52 kB / 0.7425 GB, free: 89.35 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/1.726, allocations: 0.9981 MB / 0.7435 GB, free: 88.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.963e-05/1.726, allocations: 162 kB / 0.7437 GB, free: 88.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.455e-05/1.726, allocations: 54.88 kB / 0.7437 GB, free: 88.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/1.726, allocations: 147.4 kB / 0.7439 GB, free: 88.64 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/1.726, allocations: 0 / 0.7439 GB, free: 88.64 MB / 0.6198 GB Notification: Performance of Templates: time 0.0429/1.769, allocations: 61.17 MB / 0.8036 GB, free: 42.73 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.350612379144877]