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.8466/0.8466, allocations: 120.3 MB / 139.4 MB, free: 500 kB / 126.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/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 2.224e-06/2.224e-06, allocations: 0 / 217.1 MB, free: 13.84 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.86e-05/3.083e-05, allocations: 7.812 kB / 217.1 MB, free: 13.83 MB / 206.1 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.534/1.534, allocations: 254.3 MB / 471.4 MB, free: 10.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.258/1.792, allocations: 31.1 MB / 0.4908 GB, free: 7.434 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002625/1.793, allocations: 4.938 kB / 0.4908 GB, free: 7.434 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45: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:33:3-34:47: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:55:3-57:42: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:58:3-60:43: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.0005933/1.793, allocations: 272 kB / 0.491 GB, free: 7.289 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004149/1.794, allocations: 286.5 kB / 0.4913 GB, free: 7.113 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783: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:850:9-850: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:1088:9-1088: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:69:3-69: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:69:3-69: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:167:3-170:49: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:167:3-170:49: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.0288/1.822, allocations: 10.02 MB / 0.5011 GB, free: 56 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008339/1.823, allocations: 0.5094 MB / 0.5016 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002711/1.823, allocations: 162.1 kB / 0.5018 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004738/1.824, allocations: 327.1 kB / 0.5021 GB, free: 15.07 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003626/1.824, allocations: 285.2 kB / 0.5023 GB, free: 14.8 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.776e-05/1.824, allocations: 24 kB / 0.5024 GB, free: 14.77 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03298/1.857, allocations: 16.94 MB / 0.5189 GB, free: 13.83 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002573/1.858, allocations: 179.4 kB / 0.5191 GB, free: 13.66 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000272/1.858, allocations: 148.4 kB / 0.5192 GB, free: 13.51 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02452/1.882, allocations: 11.27 MB / 0.5302 GB, free: 2.215 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/1.882, allocations: 0.9688 kB / 0.5302 GB, free: 2.215 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.883e-06/1.882, allocations: 0 / 0.5302 GB, free: 2.215 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2e-05/1.882, allocations: 0 / 0.5302 GB, free: 2.215 MB / 478.1 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.004734/1.887, allocations: 1.803 MB / 0.532 GB, free: 380 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/1.887, allocations: 13.27 kB / 0.532 GB, free: 368 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/1.887, allocations: 72.81 kB / 0.5321 GB, free: 296 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006407/1.888, allocations: 444.9 kB / 0.5325 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/1.888, allocations: 16.5 kB / 0.5325 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/1.888, allocations: 24 kB / 0.5325 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007146/1.889, allocations: 490.4 kB / 0.533 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/1.889, allocations: 0.6562 kB / 0.533 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/1.889, allocations: 12 kB / 0.533 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/1.889, allocations: 17.48 kB / 0.533 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004859/1.889, allocations: 341.9 kB / 0.5334 GB, free: 14.9 MB / 494.1 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.03928/1.929, allocations: 11.36 MB / 0.5444 GB, free: 3.574 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006524/1.929, allocations: 150.6 kB / 0.5446 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/1.929, allocations: 77.88 kB / 0.5447 GB, free: 3.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1622/2.092, allocations: 43.61 MB / 0.5873 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.944e-05/2.092, allocations: 38.56 kB / 0.5873 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.344e-06/2.092, allocations: 0 / 0.5873 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.001953/2.094, allocations: 0.5085 MB / 0.5878 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.902e-05/2.094, allocations: 106.8 kB / 0.5879 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/2.095, allocations: 0.9686 MB / 0.5888 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/2.095, allocations: 30.67 kB / 0.5889 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/2.095, allocations: 300.7 kB / 0.5892 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/2.095, allocations: 138.8 kB / 0.5893 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/2.096, allocations: 61.69 kB / 0.5893 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002069/2.096, allocations: 378.8 kB / 0.5897 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/2.096, allocations: 160.4 kB / 0.5899 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/2.096, allocations: 294.9 kB / 0.5901 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004715/2.097, allocations: 343.7 kB / 0.5905 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/2.097, allocations: 0 / 0.5905 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008805/2.098, allocations: 0.5385 MB / 0.591 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/2.098, allocations: 4.562 kB / 0.591 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/2.098, allocations: 0 / 0.591 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001725/2.099, allocations: 218.5 kB / 0.5912 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.835e-05/2.1, allocations: 23.98 kB / 0.5912 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008024/2.1, allocations: 0.681 MB / 0.5919 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/2.101, allocations: 39.75 kB / 0.5919 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/2.101, allocations: 8.656 kB / 0.5919 GB, free: 2.703 MB / 0.5294 GB 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.0002978/2.101, allocations: 254.6 kB / 0.5922 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/2.101, allocations: 63.52 kB / 0.5922 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009348/2.102, allocations: 0.6894 MB / 0.5929 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004042/2.102, allocations: 248.3 kB / 0.5932 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/2.102, allocations: 0 / 0.5932 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/2.102, allocations: 4.062 kB / 0.5932 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/2.104, allocations: 0.8423 MB / 0.594 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/2.104, allocations: 4 kB / 0.594 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.887e-05/2.104, allocations: 15.98 kB / 0.594 GB, free: 476 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009709/2.105, allocations: 181.6 kB / 0.5942 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/2.105, allocations: 8 kB / 0.5942 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007641/2.105, allocations: 0.7054 MB / 0.5949 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/2.105, allocations: 0 / 0.5949 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005696/2.106, allocations: 409.5 kB / 0.5953 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/2.106, allocations: 95.48 kB / 0.5954 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.024e-05/2.106, allocations: 15.95 kB / 0.5954 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/2.107, allocations: 11.94 kB / 0.5954 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/2.107, allocations: 19.97 kB / 0.5954 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/2.107, allocations: 4 kB / 0.5954 GB, free: 14.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001015/2.108, allocations: 0.7802 MB / 0.5962 GB, free: 14.21 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/2.108, allocations: 0 / 0.5962 GB, free: 14.21 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003427/2.111, allocations: 1.278 MB / 0.5974 GB, free: 12.93 MB / 0.545 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 (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.006684/2.118, allocations: 1.967 MB / 0.5993 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009296/2.119, allocations: 339.8 kB / 0.5997 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/2.119, allocations: 0 / 0.5997 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003164/2.119, allocations: 105.4 kB / 0.5998 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009594/2.12, allocations: 141.7 kB / 0.5999 GB, free: 10.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/2.122, allocations: 1.096 MB / 0.601 GB, free: 9.273 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/2.122, allocations: 333.3 kB / 0.6013 GB, free: 8.926 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001403/2.122, allocations: 53.94 kB / 0.6013 GB, free: 8.879 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.588e-05/2.122, allocations: 32.5 kB / 0.6014 GB, free: 8.848 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/2.122, allocations: 0 / 0.6014 GB, free: 8.848 MB / 0.545 GB Notification: Performance of Templates: time 0.06913/2.191, allocations: 45.11 MB / 0.6454 GB, free: 12 MB / 0.5919 GB " [Timeout remaining time 657] 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.473043031990528] Failed to read output from testmodel.py, exit status != 0: 2.5434821248054504 2.554178176 0.669009443 Calling exit ...