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.4852/0.4852, allocations: 111.6 MB / 132.2 MB, free: 4.949 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.723e-06/1.723e-06, allocations: 0 / 177.3 MB, free: 9.023 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432e-05/1.604e-05, allocations: 5.047 kB / 177.3 MB, free: 9.02 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.016/1.016, allocations: 257.2 MB / 434.4 MB, free: 128 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.2967/1.312, allocations: 181.1 MB / 0.6011 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000202/1.312, allocations: 11.88 kB / 0.6011 GB, free: 0.7695 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.0003052/1.313, allocations: 203.2 kB / 0.6013 GB, free: 0.5703 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003071/1.313, allocations: 294.4 kB / 0.6016 GB, free: 288 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.0194/1.332, allocations: 12.58 MB / 0.6139 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004422/1.333, allocations: 0.5689 MB / 0.6144 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/1.333, allocations: 249.4 kB / 0.6147 GB, free: 2.84 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003042/1.333, allocations: 363.2 kB / 0.615 GB, free: 2.484 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002721/1.334, allocations: 327.3 kB / 0.6153 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.207e-05/1.334, allocations: 40 kB / 0.6154 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02076/1.355, allocations: 19.73 MB / 0.6346 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/1.355, allocations: 215.3 kB / 0.6349 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/1.355, allocations: 203.4 kB / 0.635 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01283/1.368, allocations: 13.15 MB / 0.6479 GB, free: 0.7734 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/1.368, allocations: 0 / 0.6479 GB, free: 0.7734 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.052e-06/1.368, allocations: 4 kB / 0.6479 GB, free: 0.7695 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.891e-06/1.368, allocations: 0 / 0.6479 GB, free: 0.7695 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.002837/1.37, allocations: 2.386 MB / 0.6502 GB, free: 14.33 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/1.371, allocations: 15.98 kB / 0.6502 GB, free: 14.31 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/1.371, allocations: 119.4 kB / 0.6504 GB, free: 14.2 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/1.371, allocations: 436.2 kB / 0.6508 GB, free: 13.74 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/1.371, allocations: 36.94 kB / 0.6508 GB, free: 13.7 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/1.371, allocations: 36 kB / 0.6508 GB, free: 13.67 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/1.371, allocations: 424.9 kB / 0.6512 GB, free: 13.19 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/1.371, allocations: 0 / 0.6512 GB, free: 13.19 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/1.371, allocations: 16 kB / 0.6513 GB, free: 13.18 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/1.371, allocations: 8 kB / 0.6513 GB, free: 13.17 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/1.372, allocations: 143 kB / 0.6514 GB, free: 13.03 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003787/1.375, allocations: 3.598 MB / 0.6549 GB, free: 9.371 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/1.376, allocations: 95.94 kB / 0.655 GB, free: 9.266 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.078e-05/1.376, allocations: 23.69 kB / 0.655 GB, free: 9.238 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3213/1.697, allocations: 77.25 MB / 0.7305 GB, free: 94.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/1.697, allocations: 36.86 kB / 0.7305 GB, free: 94.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.763e-06/1.697, allocations: 0 / 0.7305 GB, free: 94.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001028/1.698, allocations: 344.1 kB / 0.7308 GB, free: 94.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/1.698, allocations: 111.5 kB / 0.7309 GB, free: 93.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005035/1.699, allocations: 0.7739 MB / 0.7317 GB, free: 93.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/1.699, allocations: 29.83 kB / 0.7317 GB, free: 93.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/1.699, allocations: 462.9 kB / 0.7322 GB, free: 93.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/1.699, allocations: 44.08 kB / 0.7322 GB, free: 93.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-05/1.699, allocations: 88.22 kB / 0.7323 GB, free: 93.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.592e-05/1.699, allocations: 0.5718 MB / 0.7329 GB, free: 93.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.329e-05/1.699, allocations: 25.59 kB / 0.7329 GB, free: 93.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.402e-05/1.699, allocations: 270 kB / 0.7331 GB, free: 92.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/1.699, allocations: 248.5 kB / 0.7334 GB, free: 92.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.699, allocations: 3.094 kB / 0.7334 GB, free: 92.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005551/1.7, allocations: 379.3 kB / 0.7337 GB, free: 92.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/1.7, allocations: 5.938 kB / 0.7337 GB, free: 92.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.7, allocations: 4.141 kB / 0.7337 GB, free: 92.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005987/1.7, allocations: 155.2 kB / 0.7339 GB, free: 92.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.141e-05/1.701, allocations: 49.77 kB / 0.7339 GB, free: 92.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002458/1.701, allocations: 0.8572 MB / 0.7348 GB, free: 91.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/1.701, allocations: 38.67 kB / 0.7348 GB, free: 91.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/1.701, allocations: 15.12 kB / 0.7348 GB, free: 91.6 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.521e-05/1.701, allocations: 179.7 kB / 0.735 GB, free: 91.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/1.701, allocations: 71.88 kB / 0.7351 GB, free: 91.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003017/1.701, allocations: 218 kB / 0.7353 GB, free: 91.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/1.701, allocations: 0 / 0.7353 GB, free: 91.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/1.701, allocations: 3.625 kB / 0.7353 GB, free: 91.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/1.701, allocations: 0 / 0.7353 GB, free: 91.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000746/1.702, allocations: 0.6566 MB / 0.7359 GB, free: 91.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.702, allocations: 1.203 kB / 0.7359 GB, free: 91.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.167e-05/1.702, allocations: 5.219 kB / 0.7359 GB, free: 91.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004296/1.703, allocations: 137.7 kB / 0.7361 GB, free: 91.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/1.703, allocations: 0 / 0.7361 GB, free: 91.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002124/1.703, allocations: 0.8603 MB / 0.7369 GB, free: 90.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.703, allocations: 8.156 kB / 0.7369 GB, free: 90.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/1.703, allocations: 434.3 kB / 0.7373 GB, free: 89.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.678e-05/1.703, allocations: 92.03 kB / 0.7374 GB, free: 89.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/1.703, allocations: 6.844 kB / 0.7374 GB, free: 89.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.737e-05/1.703, allocations: 11.77 kB / 0.7374 GB, free: 89.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/1.703, allocations: 11.16 kB / 0.7374 GB, free: 89.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/1.704, allocations: 6.031 kB / 0.7374 GB, free: 89.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002388/1.704, allocations: 462.4 kB / 0.7379 GB, free: 89.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/1.704, allocations: 1.094 kB / 0.7379 GB, free: 89.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00238/1.706, allocations: 1.675 MB / 0.7395 GB, free: 89.76 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.003872/1.71, allocations: 2.822 MB / 0.7423 GB, free: 89.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002243/1.71, allocations: 137.3 kB / 0.7424 GB, free: 89.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.71, allocations: 3.938 kB / 0.7424 GB, free: 89.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.4e-05/1.71, allocations: 47.12 kB / 0.7425 GB, free: 89.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/1.711, allocations: 93.56 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.001017/1.712, allocations: 0.986 MB / 0.7435 GB, free: 88.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.924e-05/1.712, allocations: 162.6 kB / 0.7437 GB, free: 88.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.847e-05/1.712, allocations: 59.73 kB / 0.7437 GB, free: 88.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/1.712, allocations: 147.6 kB / 0.7439 GB, free: 88.65 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/1.712, allocations: 0 / 0.7439 GB, free: 88.65 MB / 0.6198 GB Notification: Performance of Templates: time 0.04435/1.756, allocations: 61.23 MB / 0.8037 GB, free: 43.53 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.812227938789874]