Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.9399/0.9399, allocations: 111.6 MB / 131 MB, free: 5.102 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.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.34e-06/5.34e-06, allocations: 4 kB / 175.6 MB, free: 9.523 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.983e-05, allocations: 7.719 kB / 175.7 MB, free: 9.52 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.Examples.Book.SimpleExamples.PressureLoss.TestBend): time 1.636/1.636, allocations: 254.6 MB / 430.2 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04944/1.685, allocations: 31.13 MB / 461.3 MB, free: 1.266 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002154/1.686, allocations: 4 kB / 461.3 MB, free: 1.262 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20:78:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SinkP.mo:19:3-20:80:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/Bend.mo:35:3-36:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/Bend.mo:37:3-38:80:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0006239/1.686, allocations: 259 kB / 461.6 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004511/1.687, allocations: 290.7 kB / 461.9 MB, free: 0.7227 MB / 410.7 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.02899/1.716, allocations: 10.04 MB / 471.9 MB, free: 6.648 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000945/1.717, allocations: 0.5063 MB / 472.4 MB, free: 6.141 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003224/1.717, allocations: 172.7 kB / 472.6 MB, free: 5.973 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008512/1.718, allocations: 339.1 kB / 472.9 MB, free: 5.641 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000411/1.718, allocations: 275.5 kB / 473.2 MB, free: 5.371 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.302e-05/1.718, allocations: 24 kB / 473.2 MB, free: 5.348 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03387/1.752, allocations: 16.92 MB / 490.1 MB, free: 4.402 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002733/1.753, allocations: 183.4 kB / 490.3 MB, free: 4.223 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002772/1.753, allocations: 151.5 kB / 490.5 MB, free: 4.074 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2065/1.959, allocations: 11.25 MB / 0.49 GB, free: 20.76 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/1.959, allocations: 0 / 0.49 GB, free: 20.76 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.865e-06/1.959, allocations: 1.594 kB / 0.49 GB, free: 20.76 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.418e-06/1.959, allocations: 0 / 0.49 GB, free: 20.76 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00612/1.965, allocations: 1.798 MB / 0.4917 GB, free: 19.72 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/1.965, allocations: 13.27 kB / 0.4917 GB, free: 19.72 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002129/1.966, allocations: 104.2 kB / 0.4918 GB, free: 19.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004745/1.966, allocations: 439.1 kB / 0.4922 GB, free: 19.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/1.966, allocations: 19.88 kB / 0.4923 GB, free: 19.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/1.966, allocations: 25.47 kB / 0.4923 GB, free: 19.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005118/1.967, allocations: 491.6 kB / 0.4928 GB, free: 19.29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/1.967, allocations: 0 / 0.4928 GB, free: 19.29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/1.967, allocations: 11.44 kB / 0.4928 GB, free: 19.29 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/1.967, allocations: 14.36 kB / 0.4928 GB, free: 19.29 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004223/1.967, allocations: 346.6 kB / 0.4931 GB, free: 19.29 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03506/2.002, allocations: 11.39 MB / 0.5042 GB, free: 17.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005715/2.003, allocations: 146.4 kB / 0.5044 GB, free: 17.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/2.003, allocations: 87.41 kB / 0.5045 GB, free: 17.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1497/2.153, allocations: 43.67 MB / 0.5471 GB, free: 14.63 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/2.153, allocations: 35.94 kB / 0.5471 GB, free: 14.59 MB / 474.7 MB Notification: Performance of pre-optimization done (n=38): time 2.264e-06/2.153, allocations: 0 / 0.5471 GB, free: 14.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=38): time 0.002053/2.155, allocations: 0.5185 MB / 0.5476 GB, free: 14.18 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.468e-05/2.155, allocations: 112.6 kB / 0.5478 GB, free: 14.05 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/2.156, allocations: 0.9703 MB / 0.5487 GB, free: 13.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/2.156, allocations: 27.58 kB / 0.5487 GB, free: 13.27 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/2.157, allocations: 304.8 kB / 0.549 GB, free: 13.07 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/2.157, allocations: 132 kB / 0.5491 GB, free: 12.96 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/2.157, allocations: 68.73 kB / 0.5492 GB, free: 12.91 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002521/2.157, allocations: 375 kB / 0.5496 GB, free: 12.55 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/2.157, allocations: 163.1 kB / 0.5497 GB, free: 12.45 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/2.158, allocations: 288.4 kB / 0.55 GB, free: 12.19 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/2.158, allocations: 339.1 kB / 0.5503 GB, free: 11.95 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/2.158, allocations: 4 kB / 0.5503 GB, free: 11.94 MB / 474.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008441/2.159, allocations: 0.5424 MB / 0.5509 GB, free: 11.55 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/2.159, allocations: 6.641 kB / 0.5509 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/2.159, allocations: 8 kB / 0.5509 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001725/2.161, allocations: 223.4 kB / 0.5511 GB, free: 11.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.167e-05/2.161, allocations: 25.55 kB / 0.5511 GB, free: 11.31 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008067/2.162, allocations: 0.6737 MB / 0.5518 GB, free: 10.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/2.162, allocations: 31.73 kB / 0.5518 GB, free: 10.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/2.162, allocations: 15.98 kB / 0.5518 GB, free: 10.62 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (Bend.C2.b,Bend.C1.a,SinkP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003172/2.162, allocations: 252.9 kB / 0.552 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/2.162, allocations: 67.58 kB / 0.5521 GB, free: 10.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/2.163, allocations: 0.6895 MB / 0.5528 GB, free: 9.543 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004276/2.164, allocations: 240.1 kB / 0.553 GB, free: 9.301 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/2.164, allocations: 0 / 0.553 GB, free: 9.301 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/2.164, allocations: 4 kB / 0.553 GB, free: 9.297 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/2.165, allocations: 0.8537 MB / 0.5539 GB, free: 8.418 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/2.165, allocations: 0 / 0.5539 GB, free: 8.418 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.435e-05/2.165, allocations: 24.58 kB / 0.5539 GB, free: 8.395 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009564/2.166, allocations: 175.8 kB / 0.554 GB, free: 8.223 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/2.166, allocations: 4 kB / 0.554 GB, free: 8.219 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008085/2.167, allocations: 0.7063 MB / 0.5547 GB, free: 7.492 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/2.167, allocations: 4.578 kB / 0.5547 GB, free: 7.488 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006184/2.168, allocations: 408.7 kB / 0.5551 GB, free: 7.066 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/2.168, allocations: 91.53 kB / 0.5552 GB, free: 6.977 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.937e-05/2.168, allocations: 11.89 kB / 0.5552 GB, free: 6.965 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/2.168, allocations: 14.95 kB / 0.5552 GB, free: 6.953 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/2.168, allocations: 15.72 kB / 0.5553 GB, free: 6.941 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/2.168, allocations: 8 kB / 0.5553 GB, free: 6.934 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001087/2.169, allocations: 0.7841 MB / 0.556 GB, free: 6.156 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/2.169, allocations: 0 / 0.556 GB, free: 6.156 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005589/2.175, allocations: 1.278 MB / 0.5573 GB, free: 4.875 MB / 474.7 MB 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 (12): * Single equations (assignments): 11 * 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.006848/2.182, allocations: 1.952 MB / 0.5592 GB, free: 3.168 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009075/2.183, allocations: 349.6 kB / 0.5595 GB, free: 2.828 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/2.183, allocations: 0 / 0.5595 GB, free: 2.828 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/2.183, allocations: 101.2 kB / 0.5596 GB, free: 2.734 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009384/2.184, allocations: 144.4 kB / 0.5598 GB, free: 2.598 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/2.186, allocations: 1.104 MB / 0.5608 GB, free: 1.465 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/2.187, allocations: 347.3 kB / 0.5612 GB, free: 1.109 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001488/2.187, allocations: 56.11 kB / 0.5612 GB, free: 1.059 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.927e-05/2.187, allocations: 32.5 kB / 0.5613 GB, free: 1.027 MB / 474.7 MB Notification: Performance of SimCode: time 5.81e-07/2.187, allocations: 2.297 kB / 0.5613 GB, free: 1.027 MB / 474.7 MB Notification: Performance of Templates: time 0.07659/2.263, allocations: 45.29 MB / 0.6055 GB, free: 3.957 MB / 0.5105 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.522152584046125]