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.8004/0.8004, allocations: 111.6 MB / 131 MB, free: 5.09 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 2.494e-06/2.494e-06, allocations: 0 / 175.7 MB, free: 9.512 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.995e-05, allocations: 2.312 kB / 175.7 MB, free: 9.508 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.699/1.699, allocations: 254.9 MB / 430.5 MB, free: 316 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.446/2.145, allocations: 184.1 MB / 0.6002 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000314/2.145, allocations: 15.88 kB / 0.6002 GB, free: 7.883 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.0004282/2.146, allocations: 207.1 kB / 0.6004 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.000519/2.146, allocations: 290.5 kB / 0.6007 GB, free: 7.395 MB / 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.03349/2.18, allocations: 12.57 MB / 0.613 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0008716/2.181, allocations: 0.5611 MB / 0.6135 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003729/2.181, allocations: 253.4 kB / 0.6138 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005392/2.182, allocations: 371.1 kB / 0.6141 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004417/2.182, allocations: 323.3 kB / 0.6144 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.632e-05/2.182, allocations: 40 kB / 0.6145 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03779/2.22, allocations: 19.71 MB / 0.6337 GB, free: 5.508 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003087/2.22, allocations: 227.3 kB / 0.6339 GB, free: 5.285 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003219/2.221, allocations: 199.4 kB / 0.6341 GB, free: 5.09 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.02918/2.25, allocations: 13.42 MB / 0.6472 GB, free: 7.637 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/2.25, allocations: 0 / 0.6472 GB, free: 7.637 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.673e-06/2.25, allocations: 0 / 0.6472 GB, free: 7.637 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.378e-06/2.25, allocations: 4 kB / 0.6472 GB, free: 7.633 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.00571/2.255, allocations: 2.441 MB / 0.6496 GB, free: 5.141 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/2.256, allocations: 11.98 kB / 0.6496 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002818/2.256, allocations: 120 kB / 0.6497 GB, free: 5.012 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007841/2.257, allocations: 464.2 kB / 0.6502 GB, free: 4.527 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.844e-05/2.257, allocations: 32.94 kB / 0.6502 GB, free: 4.496 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.291e-05/2.257, allocations: 44 kB / 0.6503 GB, free: 4.453 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009396/2.258, allocations: 0.4964 MB / 0.6507 GB, free: 3.898 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/2.258, allocations: 0 / 0.6507 GB, free: 3.898 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.059e-05/2.258, allocations: 20 kB / 0.6508 GB, free: 3.879 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/2.258, allocations: 12.62 kB / 0.6508 GB, free: 3.867 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005547/2.258, allocations: 270.4 kB / 0.651 GB, free: 3.602 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008983/2.267, allocations: 4.009 MB / 0.655 GB, free: 15.53 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005475/2.268, allocations: 129.5 kB / 0.6551 GB, free: 15.39 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.689e-05/2.268, allocations: 41 kB / 0.6551 GB, free: 15.35 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.464/2.732, allocations: 89.02 MB / 0.742 GB, free: 276.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/2.732, allocations: 41.94 kB / 0.7421 GB, free: 276.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/2.732, allocations: 0 / 0.7421 GB, free: 276.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.002052/2.734, allocations: 400.5 kB / 0.7425 GB, free: 276.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/2.734, allocations: 102.8 kB / 0.7426 GB, free: 276.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008727/2.735, allocations: 0.9445 MB / 0.7435 GB, free: 275.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/2.735, allocations: 29.7 kB / 0.7435 GB, free: 275.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/2.735, allocations: 492.8 kB / 0.744 GB, free: 274.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/2.735, allocations: 46.73 kB / 0.744 GB, free: 274.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/2.735, allocations: 99.25 kB / 0.7441 GB, free: 274.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001449/2.735, allocations: 0.6016 MB / 0.7447 GB, free: 273.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/2.735, allocations: 55.97 kB / 0.7448 GB, free: 273.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/2.736, allocations: 311.5 kB / 0.7451 GB, free: 273.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/2.736, allocations: 311.2 kB / 0.7454 GB, free: 273.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/2.736, allocations: 7.562 kB / 0.7454 GB, free: 273.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001135/2.737, allocations: 443.1 kB / 0.7458 GB, free: 272.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/2.737, allocations: 4.938 kB / 0.7458 GB, free: 272.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/2.737, allocations: 4 kB / 0.7458 GB, free: 272.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/2.738, allocations: 187 kB / 0.746 GB, free: 272.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/2.739, allocations: 52.41 kB / 0.746 GB, free: 272.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000443/2.739, allocations: 0.9058 MB / 0.7469 GB, free: 271.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/2.739, allocations: 37 kB / 0.7469 GB, free: 271.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/2.739, allocations: 20 kB / 0.747 GB, free: 271.4 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.0001371/2.739, allocations: 195.6 kB / 0.7472 GB, free: 271.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.583e-05/2.739, allocations: 79.5 kB / 0.7472 GB, free: 271.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006173/2.74, allocations: 258.3 kB / 0.7475 GB, free: 270.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/2.74, allocations: 0 / 0.7475 GB, free: 270.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/2.74, allocations: 0 / 0.7475 GB, free: 270.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/2.74, allocations: 3.984 kB / 0.7475 GB, free: 270.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/2.742, allocations: 0.9314 MB / 0.7484 GB, free: 269.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/2.742, allocations: 4 kB / 0.7484 GB, free: 269.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.902e-05/2.742, allocations: 4 kB / 0.7484 GB, free: 269.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009965/2.743, allocations: 159.2 kB / 0.7486 GB, free: 269.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/2.743, allocations: 4 kB / 0.7486 GB, free: 269.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004061/2.743, allocations: 0.9053 MB / 0.7494 GB, free: 268.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/2.743, allocations: 4 kB / 0.7494 GB, free: 268.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/2.744, allocations: 477.9 kB / 0.7499 GB, free: 268.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002133/2.745, allocations: 98.41 kB / 0.75 GB, free: 268.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.522e-05/2.745, allocations: 4 kB / 0.75 GB, free: 268.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/2.745, allocations: 4 kB / 0.75 GB, free: 268.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/2.745, allocations: 15.92 kB / 0.75 GB, free: 268.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/2.745, allocations: 8 kB / 0.75 GB, free: 268.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004812/2.745, allocations: 0.5497 MB / 0.7506 GB, free: 267.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/2.745, allocations: 0 / 0.7506 GB, free: 267.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003129/2.749, allocations: 1.681 MB / 0.7522 GB, free: 266.2 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.005247/2.754, allocations: 2.718 MB / 0.7549 GB, free: 263.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004433/2.754, allocations: 184.7 kB / 0.755 GB, free: 263.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/2.754, allocations: 0 / 0.755 GB, free: 263.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/2.754, allocations: 63.59 kB / 0.7551 GB, free: 263.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005349/2.755, allocations: 97.52 kB / 0.7552 GB, free: 263.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/2.756, allocations: 0.9827 MB / 0.7561 GB, free: 262.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/2.756, allocations: 329.9 kB / 0.7565 GB, free: 262.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001303/2.756, allocations: 56.45 kB / 0.7565 GB, free: 262.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.756e-05/2.756, allocations: 36.5 kB / 0.7565 GB, free: 262.1 MB / 0.6198 GB Notification: Performance of SimCode: time 7.42e-07/2.756, allocations: 0 / 0.7565 GB, free: 262.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.05302/2.809, allocations: 52.32 MB / 0.8076 GB, free: 210 MB / 0.6198 GB " [Timeout remaining time 657] 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: 9.145289505948313]