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 4.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo): time 0.7659/0.7659, allocations: 111.7 MB / 121.6 MB, free: 4.742 MB / 122.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09449/0.8604, allocations: 33.99 MB / 155.6 MB, free: 3.652 MB / 154.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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.314e-06/2.314e-06, allocations: 0 / 156.8 MB, free: 2.473 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.671e-05, allocations: 2.312 kB / 156.8 MB, free: 2.469 MB / 154.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.045/1.045, allocations: 233.4 MB / 390.2 MB, free: 2.574 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02804/1.073, allocations: 33.8 MB / 424 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001936/1.073, allocations: 4 kB / 424 MB, free: 0.6406 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] Notification: Performance of NFTyping.typeComponents: time 0.0004212/1.074, allocations: 285.1 kB / 424.3 MB, free: 376 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002441/1.074, allocations: 282.7 kB / 424.5 MB, free: 92 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01661/1.091, allocations: 8.825 MB / 433.4 MB, free: 7.227 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004795/1.091, allocations: 0.5064 MB / 433.9 MB, free: 6.719 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/1.091, allocations: 178.6 kB / 434 MB, free: 6.547 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000331/1.092, allocations: 363.1 kB / 434.4 MB, free: 6.191 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/1.092, allocations: 247.5 kB / 434.6 MB, free: 5.949 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/1.092, allocations: 24 kB / 434.7 MB, free: 5.926 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteam/IF97_packages.mo:470:9-470:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteam/IF97_packages.mo:525:9-525:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteam/IF97_packages.mo:708:9-708:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: 'dh1satp' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: 'dh2satp' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: 'du1satp_der' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: 'du2satp_der' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.02481/1.117, allocations: 18.25 MB / 452.9 MB, free: 3.656 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/1.117, allocations: 163.5 kB / 453.1 MB, free: 3.496 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/1.117, allocations: 127.6 kB / 453.2 MB, free: 3.371 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01319/1.13, allocations: 8.487 MB / 461.7 MB, free: 10.86 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.285e-05/1.13, allocations: 0 / 461.7 MB, free: 10.86 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.623e-06/1.13, allocations: 0 / 461.7 MB, free: 10.86 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.57e-05/1.13, allocations: 0 / 461.7 MB, free: 10.86 MB / 458.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.003789/1.134, allocations: 2.435 MB / 464.1 MB, free: 8.371 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/1.134, allocations: 12.62 kB / 464.1 MB, free: 8.359 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/1.134, allocations: 59.94 kB / 464.2 MB, free: 8.301 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/1.135, allocations: 321 kB / 464.5 MB, free: 7.961 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/1.135, allocations: 20.5 kB / 464.5 MB, free: 7.941 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002531/1.135, allocations: 31.94 kB / 464.6 MB, free: 7.91 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/1.135, allocations: 331.9 kB / 464.9 MB, free: 7.535 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/1.135, allocations: 4 kB / 464.9 MB, free: 7.531 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/1.135, allocations: 8 kB / 464.9 MB, free: 7.523 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/1.135, allocations: 15.98 kB / 464.9 MB, free: 7.508 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/1.135, allocations: 94.62 kB / 465 MB, free: 7.41 MB / 458.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.01708/1.152, allocations: 9.415 MB / 474.4 MB, free: 13.94 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/1.153, allocations: 138.3 kB / 474.5 MB, free: 13.79 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.632e-05/1.153, allocations: 32.86 kB / 474.6 MB, free: 13.76 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06117/1.214, allocations: 39.09 MB / 0.5016 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.194e-05/1.214, allocations: 30.56 kB / 0.5017 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=38): time 2.905e-06/1.214, allocations: 0 / 0.5017 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of matching and sorting (n=38): time 0.001006/1.215, allocations: 325.7 kB / 0.502 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/1.215, allocations: 55.41 kB / 0.502 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005169/1.216, allocations: 0.5876 MB / 0.5026 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/1.216, allocations: 25.7 kB / 0.5026 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/1.216, allocations: 233.9 kB / 0.5028 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.351e-05/1.216, allocations: 134.8 kB / 0.503 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.15e-05/1.216, allocations: 65.55 kB / 0.503 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004976/1.216, allocations: 386.6 kB / 0.5034 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.282e-05/1.216, allocations: 35.31 kB / 0.5034 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/1.217, allocations: 174.9 kB / 0.5036 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/1.217, allocations: 177.3 kB / 0.5038 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/1.217, allocations: 0 / 0.5038 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002421/1.217, allocations: 226.4 kB / 0.504 GB, free: 4.059 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/1.217, allocations: 4 kB / 0.504 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/1.217, allocations: 4 kB / 0.504 GB, free: 4.051 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006424/1.218, allocations: 164.7 kB / 0.5042 GB, free: 3.887 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.495e-05/1.218, allocations: 31.92 kB / 0.5042 GB, free: 3.855 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003095/1.218, allocations: 0.59 MB / 0.5048 GB, free: 3.242 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/1.218, allocations: 43.7 kB / 0.5048 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/1.218, allocations: 8.031 kB / 0.5048 GB, free: 3.191 MB / 0.4948 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 (SourceP1.C.b,SinkP1.C.a,Bend.C1.a,Bend.C2.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 9.657e-05/1.218, allocations: 132.6 kB / 0.5049 GB, free: 3.051 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/1.218, allocations: 31.95 kB / 0.505 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004032/1.219, allocations: 0.5727 MB / 0.5055 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001096/1.219, allocations: 147.5 kB / 0.5057 GB, free: 2.219 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-06/1.219, allocations: 0 / 0.5057 GB, free: 2.219 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/1.219, allocations: 3.984 kB / 0.5057 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00052/1.219, allocations: 0.6254 MB / 0.5063 GB, free: 1.559 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.219, allocations: 0 / 0.5063 GB, free: 1.559 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.649e-05/1.219, allocations: 19.94 kB / 0.5063 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.457e-05/1.219, allocations: 71.53 kB / 0.5064 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003429/1.22, allocations: 139.6 kB / 0.5065 GB, free: 1.328 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/1.22, allocations: 3.984 kB / 0.5065 GB, free: 1.324 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002878/1.22, allocations: 0.6358 MB / 0.5071 GB, free: 0.6602 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/1.22, allocations: 0 / 0.5071 GB, free: 0.6602 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/1.22, allocations: 333.5 kB / 0.5074 GB, free: 316 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/1.22, allocations: 19.91 kB / 0.5075 GB, free: 296 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.396e-05/1.22, allocations: 11.98 kB / 0.5075 GB, free: 284 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/1.22, allocations: 11.98 kB / 0.5075 GB, free: 272 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/1.22, allocations: 3.938 kB / 0.5075 GB, free: 268 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.1577/1.378, allocations: 304 kB / 0.5078 GB, free: 79.13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/1.378, allocations: 0.625 kB / 0.5078 GB, free: 79.13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00291/1.381, allocations: 1.276 MB / 0.509 GB, free: 79.13 MB / 0.4948 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.003956/1.385, allocations: 2.131 MB / 0.5111 GB, free: 79.04 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005357/1.385, allocations: 188.4 kB / 0.5113 GB, free: 79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.908e-05/1.385, allocations: 7.438 kB / 0.5113 GB, free: 79 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/1.386, allocations: 94.17 kB / 0.5114 GB, free: 78.99 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006156/1.386, allocations: 0.7821 MB / 0.5121 GB, free: 78.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003591/1.39, allocations: 1.021 MB / 0.5131 GB, free: 77.83 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/1.39, allocations: 163.6 kB / 0.5133 GB, free: 77.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001216/1.39, allocations: 43.66 kB / 0.5133 GB, free: 77.74 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/1.39, allocations: 140.1 kB / 0.5135 GB, free: 77.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.022e-06/1.39, allocations: 4 kB / 0.5135 GB, free: 77.69 MB / 0.4948 GB Notification: Performance of Templates: time 0.03629/1.427, allocations: 47.15 MB / 0.5595 GB, free: 52.8 MB / 0.4948 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07956/1.506, allocations: 53.75 MB / 0.612 GB, free: 12.46 MB / 0.4948 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.865472092293203]