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.4978/0.4978, allocations: 111.6 MB / 131.5 MB, free: 4.906 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.563e-06/1.563e-06, allocations: 0 / 176.6 MB, free: 8.996 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.586e-05, allocations: 2.312 kB / 176.6 MB, free: 8.992 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.061/1.061, allocations: 263 MB / 439.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3825/1.444, allocations: 183.8 MB / 0.6088 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002698/1.444, allocations: 11.88 kB / 0.6088 GB, free: 11.93 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.0002814/1.444, allocations: 203.1 kB / 0.609 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003434/1.445, allocations: 290.5 kB / 0.6092 GB, free: 11.45 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.02545/1.47, allocations: 12.69 MB / 0.6216 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0006303/1.471, allocations: 0.5689 MB / 0.6222 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002532/1.471, allocations: 262 kB / 0.6224 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003432/1.471, allocations: 367.2 kB / 0.6228 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/1.472, allocations: 287.3 kB / 0.6231 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.832e-05/1.472, allocations: 40 kB / 0.6231 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02749/1.499, allocations: 19.71 MB / 0.6424 GB, free: 9.473 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000235/1.499, allocations: 223.3 kB / 0.6426 GB, free: 9.254 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002187/1.5, allocations: 195.4 kB / 0.6427 GB, free: 9.062 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.02373/1.523, allocations: 13.16 MB / 0.6556 GB, free: 11.87 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/1.523, allocations: 0 / 0.6556 GB, free: 11.87 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.044e-06/1.523, allocations: 0 / 0.6556 GB, free: 11.87 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.636e-06/1.523, allocations: 0 / 0.6556 GB, free: 11.87 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.004333/1.528, allocations: 2.238 MB / 0.6578 GB, free: 9.594 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/1.528, allocations: 11.98 kB / 0.6578 GB, free: 9.582 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/1.528, allocations: 91.91 kB / 0.6579 GB, free: 9.492 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/1.528, allocations: 397.5 kB / 0.6583 GB, free: 9.074 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/1.528, allocations: 33.5 kB / 0.6583 GB, free: 9.043 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/1.528, allocations: 40 kB / 0.6583 GB, free: 9.004 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/1.529, allocations: 398.3 kB / 0.6587 GB, free: 8.559 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/1.529, allocations: 4 kB / 0.6587 GB, free: 8.555 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/1.529, allocations: 20 kB / 0.6587 GB, free: 8.535 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/1.529, allocations: 11.98 kB / 0.6587 GB, free: 8.523 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/1.529, allocations: 129.8 kB / 0.6589 GB, free: 8.398 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004474/1.533, allocations: 3.622 MB / 0.6624 GB, free: 4.734 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/1.534, allocations: 78.45 kB / 0.6625 GB, free: 4.648 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.047e-05/1.534, allocations: 20.86 kB / 0.6625 GB, free: 4.625 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3674/1.901, allocations: 80.13 MB / 0.7408 GB, free: 89.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/1.901, allocations: 35.62 kB / 0.7408 GB, free: 89.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.505e-06/1.901, allocations: 4 kB / 0.7408 GB, free: 89.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0009193/1.902, allocations: 279.3 kB / 0.7411 GB, free: 89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/1.902, allocations: 107.2 kB / 0.7412 GB, free: 88.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004772/1.902, allocations: 0.696 MB / 0.7418 GB, free: 88.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/1.902, allocations: 31.67 kB / 0.7419 GB, free: 88.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/1.903, allocations: 306.5 kB / 0.7422 GB, free: 88.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/1.903, allocations: 46.77 kB / 0.7422 GB, free: 88.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/1.903, allocations: 76.95 kB / 0.7423 GB, free: 88.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.125e-05/1.903, allocations: 375.8 kB / 0.7426 GB, free: 88.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.127e-05/1.903, allocations: 28.8 kB / 0.7427 GB, free: 88.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.992e-05/1.903, allocations: 211.9 kB / 0.7429 GB, free: 88.03 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/1.903, allocations: 200.5 kB / 0.7431 GB, free: 87.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/1.903, allocations: 3.625 kB / 0.7431 GB, free: 87.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004669/1.903, allocations: 296.1 kB / 0.7433 GB, free: 87.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/1.903, allocations: 6.375 kB / 0.7433 GB, free: 87.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/1.903, allocations: 4.375 kB / 0.7434 GB, free: 87.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005543/1.904, allocations: 147.5 kB / 0.7435 GB, free: 87.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.952e-05/1.904, allocations: 45.03 kB / 0.7435 GB, free: 87.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002323/1.904, allocations: 0.5837 MB / 0.7441 GB, free: 87.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/1.904, allocations: 31.53 kB / 0.7441 GB, free: 87.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/1.904, allocations: 17.88 kB / 0.7442 GB, free: 87.29 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.68e-05/1.905, allocations: 133.9 kB / 0.7443 GB, free: 87.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/1.905, allocations: 39.31 kB / 0.7443 GB, free: 87.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/1.905, allocations: 194.9 kB / 0.7445 GB, free: 87.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/1.905, allocations: 1.844 kB / 0.7445 GB, free: 87.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/1.905, allocations: 1.312 kB / 0.7445 GB, free: 87.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/1.905, allocations: 0 / 0.7445 GB, free: 87.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006553/1.906, allocations: 0.5088 MB / 0.745 GB, free: 86.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/1.906, allocations: 0.875 kB / 0.745 GB, free: 86.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-05/1.906, allocations: 3.906 kB / 0.745 GB, free: 86.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003744/1.906, allocations: 129.9 kB / 0.7451 GB, free: 86.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/1.906, allocations: 3.203 kB / 0.7451 GB, free: 86.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001776/1.906, allocations: 0.568 MB / 0.7457 GB, free: 86.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.906, allocations: 12.47 kB / 0.7457 GB, free: 86.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004227/1.907, allocations: 312.9 kB / 0.746 GB, free: 86.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.309e-05/1.907, allocations: 89.86 kB / 0.7461 GB, free: 86.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/1.907, allocations: 0 / 0.7461 GB, free: 86.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.307e-05/1.907, allocations: 15 kB / 0.7461 GB, free: 86.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/1.907, allocations: 14.47 kB / 0.7461 GB, free: 86.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/1.907, allocations: 4.406 kB / 0.7461 GB, free: 86.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002324/1.907, allocations: 344.7 kB / 0.7464 GB, free: 86.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/1.907, allocations: 0 / 0.7464 GB, free: 86.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00269/1.91, allocations: 1.676 MB / 0.7481 GB, free: 86.12 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.004087/1.914, allocations: 2.878 MB / 0.7509 GB, free: 85.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002246/1.914, allocations: 129.2 kB / 0.751 GB, free: 85.78 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/1.914, allocations: 10.31 kB / 0.751 GB, free: 85.78 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.468e-05/1.914, allocations: 44.41 kB / 0.7511 GB, free: 85.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/1.914, allocations: 94.92 kB / 0.7512 GB, free: 85.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/1.915, allocations: 0.9839 MB / 0.7521 GB, free: 85.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.771e-05/1.915, allocations: 164.7 kB / 0.7523 GB, free: 85.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.366e-05/1.916, allocations: 60.36 kB / 0.7523 GB, free: 85.13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/1.916, allocations: 124.3 kB / 0.7525 GB, free: 85.09 MB / 0.6198 GB Notification: Performance of SimCode: time 1.143e-06/1.916, allocations: 0 / 0.7525 GB, free: 85.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.04464/1.96, allocations: 60.39 MB / 0.8114 GB, free: 35.33 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.750414996407926]