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.5032/0.5032, allocations: 111.6 MB / 131.2 MB, free: 5.035 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 3.126e-06/3.126e-06, allocations: 0 / 176.1 MB, free: 9.254 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.086e-05/3.398e-05, allocations: 2.312 kB / 176.1 MB, free: 9.25 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.07/1.07, allocations: 257.2 MB / 433.3 MB, free: 232 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3767/1.446, allocations: 184.5 MB / 0.6034 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002692/1.447, allocations: 11.94 kB / 0.6034 GB, free: 13.86 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.0003159/1.447, allocations: 199.2 kB / 0.6036 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003798/1.447, allocations: 290.5 kB / 0.6039 GB, free: 13.38 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.02372/1.471, allocations: 12.59 MB / 0.6162 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006533/1.472, allocations: 0.5573 MB / 0.6167 GB, free: 196 kB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003432/1.472, allocations: 253.4 kB / 0.617 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004271/1.473, allocations: 367.2 kB / 0.6173 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/1.473, allocations: 323.3 kB / 0.6176 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 5.147e-05/1.473, allocations: 44 kB / 0.6177 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02619/1.499, allocations: 19.72 MB / 0.6369 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002209/1.499, allocations: 219.3 kB / 0.6371 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002144/1.5, allocations: 207.4 kB / 0.6373 GB, free: 11.06 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0212/1.521, allocations: 13.15 MB / 0.6502 GB, free: 13.88 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/1.521, allocations: 0 / 0.6502 GB, free: 13.88 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.462e-06/1.521, allocations: 0 / 0.6502 GB, free: 13.88 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.965e-06/1.521, allocations: 0 / 0.6502 GB, free: 13.88 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.004491/1.525, allocations: 2.386 MB / 0.6525 GB, free: 11.44 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/1.525, allocations: 15.98 kB / 0.6525 GB, free: 11.42 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00022/1.525, allocations: 120.1 kB / 0.6526 GB, free: 11.3 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005315/1.526, allocations: 460.2 kB / 0.6531 GB, free: 10.82 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.937e-05/1.526, allocations: 32.94 kB / 0.6531 GB, free: 10.79 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/1.526, allocations: 36 kB / 0.6531 GB, free: 10.76 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004766/1.527, allocations: 445 kB / 0.6535 GB, free: 10.26 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/1.527, allocations: 3.938 kB / 0.6535 GB, free: 10.26 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/1.527, allocations: 16 kB / 0.6536 GB, free: 10.24 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/1.527, allocations: 16 kB / 0.6536 GB, free: 10.23 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002859/1.527, allocations: 168.3 kB / 0.6537 GB, free: 10.06 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00511/1.532, allocations: 3.796 MB / 0.6574 GB, free: 6.195 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003448/1.532, allocations: 95.05 kB / 0.6575 GB, free: 6.09 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.819e-05/1.532, allocations: 36.28 kB / 0.6576 GB, free: 6.051 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.378/1.91, allocations: 89.02 MB / 0.7445 GB, free: 90.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/1.91, allocations: 36.2 kB / 0.7445 GB, free: 90.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.565e-06/1.91, allocations: 0 / 0.7445 GB, free: 90.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001329/1.912, allocations: 361.6 kB / 0.7449 GB, free: 90.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/1.912, allocations: 113 kB / 0.745 GB, free: 90.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006725/1.913, allocations: 0.7854 MB / 0.7458 GB, free: 89.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/1.913, allocations: 28.58 kB / 0.7458 GB, free: 89.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/1.913, allocations: 450.6 kB / 0.7462 GB, free: 89.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/1.913, allocations: 46.03 kB / 0.7463 GB, free: 89.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.343e-05/1.913, allocations: 88.78 kB / 0.7463 GB, free: 89.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001124/1.913, allocations: 0.562 MB / 0.7469 GB, free: 89.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.458e-05/1.913, allocations: 38.17 kB / 0.7469 GB, free: 89.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/1.913, allocations: 273.7 kB / 0.7472 GB, free: 88.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/1.913, allocations: 268.2 kB / 0.7474 GB, free: 88.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.913, allocations: 0 / 0.7474 GB, free: 88.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007141/1.914, allocations: 390.4 kB / 0.7478 GB, free: 88.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/1.914, allocations: 9.062 kB / 0.7478 GB, free: 88.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/1.914, allocations: 7.594 kB / 0.7478 GB, free: 88.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007788/1.915, allocations: 167 kB / 0.748 GB, free: 88.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/1.915, allocations: 53.77 kB / 0.748 GB, free: 88.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004578/1.915, allocations: 0.8669 MB / 0.7489 GB, free: 87.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/1.916, allocations: 36.25 kB / 0.7489 GB, free: 87.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/1.916, allocations: 22.23 kB / 0.7489 GB, free: 87.81 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.0001547/1.916, allocations: 174.9 kB / 0.7491 GB, free: 87.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/1.916, allocations: 72.86 kB / 0.7492 GB, free: 87.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004377/1.916, allocations: 222 kB / 0.7494 GB, free: 87.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/1.916, allocations: 3.219 kB / 0.7494 GB, free: 87.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/1.916, allocations: 4 kB / 0.7494 GB, free: 87.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/1.916, allocations: 3.188 kB / 0.7494 GB, free: 87.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/1.917, allocations: 0.7787 MB / 0.7502 GB, free: 87.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/1.917, allocations: 7.906 kB / 0.7502 GB, free: 87.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.828e-05/1.917, allocations: 5.5 kB / 0.7502 GB, free: 87.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005355/1.918, allocations: 134.5 kB / 0.7503 GB, free: 87.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/1.918, allocations: 5.422 kB / 0.7503 GB, free: 87.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003214/1.918, allocations: 0.8742 MB / 0.7512 GB, free: 86.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.918, allocations: 0 / 0.7512 GB, free: 86.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006442/1.919, allocations: 452.5 kB / 0.7516 GB, free: 86.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/1.919, allocations: 99.12 kB / 0.7517 GB, free: 86.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/1.919, allocations: 8.922 kB / 0.7517 GB, free: 86.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.171e-05/1.919, allocations: 3.344 kB / 0.7517 GB, free: 86.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/1.919, allocations: 12.06 kB / 0.7517 GB, free: 86.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/1.919, allocations: 3.625 kB / 0.7517 GB, free: 86.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003492/1.92, allocations: 0.4909 MB / 0.7522 GB, free: 85.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/1.92, allocations: 0 / 0.7522 GB, free: 85.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003319/1.923, allocations: 1.677 MB / 0.7538 GB, free: 85.96 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.00595/1.929, allocations: 2.73 MB / 0.7565 GB, free: 85.53 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000456/1.929, allocations: 140 kB / 0.7566 GB, free: 85.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.929, allocations: 4.969 kB / 0.7566 GB, free: 85.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.14e-05/1.929, allocations: 54.64 kB / 0.7567 GB, free: 85.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/1.93, allocations: 88.47 kB / 0.7568 GB, free: 85.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/1.931, allocations: 0.9874 MB / 0.7577 GB, free: 84.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.128e-05/1.931, allocations: 166.1 kB / 0.7579 GB, free: 84.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001172/1.931, allocations: 63.72 kB / 0.758 GB, free: 84.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.377e-05/1.932, allocations: 34.25 kB / 0.758 GB, free: 84.85 MB / 0.6198 GB Notification: Performance of SimCode: time 1.423e-06/1.932, allocations: 0 / 0.758 GB, free: 84.85 MB / 0.6198 GB Notification: Performance of Templates: time 0.04163/1.973, allocations: 52.35 MB / 0.8091 GB, free: 37.77 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.84529578499496]