Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.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.4954/0.4954, allocations: 111.6 MB / 131.5 MB, free: 4.91 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.SimpleExamples.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 176.7 MB, free: 8.898 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204e-05/1.359e-05, allocations: 4.984 kB / 176.7 MB, free: 8.895 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.SimpleExamples.TestPipePressureLoss): time 1.054/1.054, allocations: 262.9 MB / 439.6 MB, free: 15.03 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02854/1.083, allocations: 32.97 MB / 472.5 MB, free: 13.95 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/1.083, allocations: 8 kB / 472.6 MB, free: 13.94 MB / 426.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/PipePressureLoss.mo:21:3-22: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/PipePressureLoss.mo:23:3-24:78: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.0002914/1.083, allocations: 103.4 kB / 472.7 MB, free: 13.84 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001517/1.083, allocations: 119.1 kB / 472.8 MB, free: 13.72 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0139/1.097, allocations: 8.611 MB / 481.4 MB, free: 5.066 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000334/1.098, allocations: 370.1 kB / 481.7 MB, free: 4.703 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/1.098, allocations: 102.8 kB / 481.8 MB, free: 4.602 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/1.098, allocations: 215.4 kB / 482.1 MB, free: 4.391 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.566e-05/1.098, allocations: 79.75 kB / 482.1 MB, free: 4.312 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/1.098, allocations: 16 kB / 482.1 MB, free: 4.297 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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 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.2014/1.3, allocations: 18.07 MB / 0.4885 GB, free: 8.082 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.365e-05/1.3, allocations: 47.02 kB / 0.4885 GB, free: 8.082 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/1.3, allocations: 86.72 kB / 0.4886 GB, free: 8.082 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01254/1.312, allocations: 10.73 MB / 0.4991 GB, free: 4.316 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.312, allocations: 0 / 0.4991 GB, free: 4.316 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/1.312, allocations: 0 / 0.4991 GB, free: 4.316 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.421e-06/1.312, allocations: 0 / 0.4991 GB, free: 4.316 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002361/1.315, allocations: 1.391 MB / 0.5005 GB, free: 3.371 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/1.315, allocations: 10.86 kB / 0.5005 GB, free: 3.367 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/1.315, allocations: 37.19 kB / 0.5005 GB, free: 3.352 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/1.315, allocations: 155.7 kB / 0.5006 GB, free: 3.207 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/1.315, allocations: 17.91 kB / 0.5007 GB, free: 3.199 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/1.315, allocations: 18.19 kB / 0.5007 GB, free: 3.195 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/1.315, allocations: 229.2 kB / 0.5009 GB, free: 3.031 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.315, allocations: 3.25 kB / 0.5009 GB, free: 3.031 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/1.315, allocations: 7.984 kB / 0.5009 GB, free: 3.023 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/1.315, allocations: 13.41 kB / 0.5009 GB, free: 3.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.828e-05/1.315, allocations: 77.11 kB / 0.501 GB, free: 3.004 MB / 426.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.01749/1.333, allocations: 9.154 MB / 0.5099 GB, free: 12.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/1.333, allocations: 104.6 kB / 0.51 GB, free: 12.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.862e-05/1.333, allocations: 32.84 kB / 0.5101 GB, free: 12.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07068/1.404, allocations: 39.07 MB / 0.5482 GB, free: 5.66 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/1.404, allocations: 34.56 kB / 0.5483 GB, free: 5.617 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 1.774e-06/1.404, allocations: 0 / 0.5483 GB, free: 5.617 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004464/1.404, allocations: 213.1 kB / 0.5485 GB, free: 5.406 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/1.404, allocations: 51.41 kB / 0.5485 GB, free: 5.344 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/1.404, allocations: 172.1 kB / 0.5487 GB, free: 5.18 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/1.404, allocations: 29.7 kB / 0.5487 GB, free: 5.145 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.855e-05/1.404, allocations: 148.8 kB / 0.5488 GB, free: 5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/1.404, allocations: 119.4 kB / 0.549 GB, free: 4.891 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/1.404, allocations: 50.98 kB / 0.549 GB, free: 4.844 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.108e-05/1.405, allocations: 336.2 kB / 0.5493 GB, free: 4.516 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.498e-05/1.405, allocations: 34.59 kB / 0.5494 GB, free: 4.48 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.847e-05/1.405, allocations: 64.94 kB / 0.5494 GB, free: 4.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.491e-05/1.405, allocations: 115.7 kB / 0.5495 GB, free: 4.293 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.405, allocations: 0 / 0.5495 GB, free: 4.293 MB / 474.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0001664/1.405, allocations: 168 kB / 0.5497 GB, free: 4.129 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/1.405, allocations: 12.03 kB / 0.5497 GB, free: 4.117 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1.405, allocations: 0.6562 kB / 0.5497 GB, free: 4.117 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003538/1.405, allocations: 84.77 kB / 0.5498 GB, free: 4.031 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.234e-05/1.405, allocations: 15.83 kB / 0.5498 GB, free: 4.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002797/1.406, allocations: 0.5886 MB / 0.5504 GB, free: 3.414 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.683e-05/1.406, allocations: 19.78 kB / 0.5504 GB, free: 3.395 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/1.406, allocations: 8 kB / 0.5504 GB, free: 3.387 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.C.b,PuitsP1.C.a,pipePressureLoss.C1.a,pipePressureLoss.C2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 8 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 6.982e-05/1.406, allocations: 119.2 kB / 0.5505 GB, free: 3.266 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/1.406, allocations: 8.734 kB / 0.5505 GB, free: 3.258 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003788/1.406, allocations: 0.5069 MB / 0.551 GB, free: 2.758 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00012/1.406, allocations: 136.6 kB / 0.5511 GB, free: 2.617 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/1.406, allocations: 0.75 kB / 0.5511 GB, free: 2.617 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/1.406, allocations: 0 / 0.5511 GB, free: 2.617 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/1.407, allocations: 0.4954 MB / 0.5516 GB, free: 2.129 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.407, allocations: 0 / 0.5516 GB, free: 2.129 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.786e-05/1.407, allocations: 12 kB / 0.5516 GB, free: 2.117 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000159/1.407, allocations: 91.66 kB / 0.5517 GB, free: 2.031 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/1.407, allocations: 4 kB / 0.5517 GB, free: 2.027 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002278/1.407, allocations: 0.5776 MB / 0.5523 GB, free: 1.426 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.407, allocations: 0.8594 kB / 0.5523 GB, free: 1.426 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/1.407, allocations: 305.9 kB / 0.5526 GB, free: 1.117 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.369e-05/1.407, allocations: 19.89 kB / 0.5526 GB, free: 1.098 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/1.407, allocations: 11.89 kB / 0.5526 GB, free: 1.086 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.717e-05/1.407, allocations: 8.031 kB / 0.5526 GB, free: 1.078 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.434e-05/1.407, allocations: 7.984 kB / 0.5526 GB, free: 1.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/1.407, allocations: 7.938 kB / 0.5526 GB, free: 1.062 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.176e-05/1.407, allocations: 86.22 kB / 0.5527 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/1.407, allocations: 3.375 kB / 0.5527 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002203/1.41, allocations: 1.204 MB / 0.5539 GB, free: 15.78 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 10 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002968/1.413, allocations: 2.037 MB / 0.5559 GB, free: 13.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002257/1.413, allocations: 157.8 kB / 0.556 GB, free: 13.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/1.413, allocations: 4 kB / 0.556 GB, free: 13.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.463e-05/1.413, allocations: 59.95 kB / 0.5561 GB, free: 13.76 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/1.413, allocations: 117.6 kB / 0.5562 GB, free: 13.65 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007474/1.414, allocations: 0.49 MB / 0.5567 GB, free: 13.15 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.855e-05/1.414, allocations: 92.17 kB / 0.5568 GB, free: 13.04 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.436e-05/1.414, allocations: 10.67 kB / 0.5568 GB, free: 13.03 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/1.414, allocations: 107.3 kB / 0.5569 GB, free: 12.93 MB / 490.7 MB Notification: Performance of SimCode: time 6.02e-07/1.414, allocations: 0 / 0.5569 GB, free: 12.93 MB / 490.7 MB Notification: Performance of Templates: time 0.04488/1.459, allocations: 48.92 MB / 0.6047 GB, free: 12.27 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.197663481812924]