Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.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.5864/0.5864, allocations: 111.6 MB / 131.5 MB, free: 4.926 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.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.076e-06/3.076e-06, allocations: 0 / 176.6 MB, free: 8.941 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.158e-05, allocations: 8.516 kB / 176.6 MB, free: 8.938 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.TestDiaphragm): time 1.329/1.329, allocations: 262.8 MB / 439.4 MB, free: 9.211 MB / 394.9 MB Notification: Performance of NFInst.instExpressions: time 0.03062/1.36, allocations: 33.22 MB / 472.6 MB, free: 7.875 MB / 426.9 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/1.36, allocations: 0 / 472.6 MB, free: 7.875 MB / 426.9 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/Diaphragm.mo:20:3-21: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/Diaphragm.mo:22:3-23: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.0003669/1.36, allocations: 103.3 kB / 472.7 MB, free: 7.773 MB / 426.9 MB Notification: Performance of NFTyping.typeBindings: time 0.0002012/1.36, allocations: 123.1 kB / 472.8 MB, free: 7.652 MB / 426.9 MB Notification: Performance of NFTyping.typeClassSections: time 0.01834/1.379, allocations: 8.673 MB / 481.5 MB, free: 14.93 MB / 442.9 MB Notification: Performance of NFFlatten.flatten: time 0.0004167/1.379, allocations: 370.7 kB / 481.9 MB, free: 14.57 MB / 442.9 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/1.379, allocations: 106.8 kB / 482 MB, free: 14.46 MB / 442.9 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002706/1.38, allocations: 215.4 kB / 482.2 MB, free: 14.25 MB / 442.9 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/1.38, allocations: 95.7 kB / 482.3 MB, free: 14.16 MB / 442.9 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/1.38, allocations: 20 kB / 482.3 MB, free: 14.14 MB / 442.9 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.4205/1.8, allocations: 18.13 MB / 0.4887 GB, free: 13.84 MB / 443.2 MB Notification: Performance of NFScalarize.scalarize: time 7.664e-05/1.8, allocations: 44.45 kB / 0.4887 GB, free: 13.84 MB / 443.2 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/1.8, allocations: 90.62 kB / 0.4888 GB, free: 13.84 MB / 443.2 MB Notification: Performance of NFConvertDAE.convert: time 0.02296/1.823, allocations: 10.8 MB / 0.4994 GB, free: 13.67 MB / 443.2 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/1.823, allocations: 3.938 kB / 0.4994 GB, free: 13.67 MB / 443.2 MB Notification: Performance of FrontEnd: time 1.723e-06/1.823, allocations: 0.6562 kB / 0.4994 GB, free: 13.67 MB / 443.2 MB Notification: Performance of Transformations before backend: time 5.36e-06/1.823, allocations: 0.5312 kB / 0.4994 GB, free: 13.67 MB / 443.2 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.004092/1.828, allocations: 1.402 MB / 0.5007 GB, free: 12.85 MB / 443.2 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/1.828, allocations: 14.3 kB / 0.5007 GB, free: 12.84 MB / 443.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.997e-05/1.828, allocations: 35.23 kB / 0.5008 GB, free: 12.84 MB / 443.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/1.828, allocations: 160 kB / 0.5009 GB, free: 12.7 MB / 443.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/1.828, allocations: 16.75 kB / 0.5009 GB, free: 12.7 MB / 443.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/1.828, allocations: 19.81 kB / 0.501 GB, free: 12.7 MB / 443.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/1.828, allocations: 277.9 kB / 0.5012 GB, free: 12.55 MB / 443.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/1.828, allocations: 0.75 kB / 0.5012 GB, free: 12.55 MB / 443.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/1.828, allocations: 10.34 kB / 0.5012 GB, free: 12.55 MB / 443.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/1.828, allocations: 14.62 kB / 0.5013 GB, free: 12.55 MB / 443.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.356e-05/1.828, allocations: 75.77 kB / 0.5013 GB, free: 12.54 MB / 443.2 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.01457/1.843, allocations: 9.249 MB / 0.5104 GB, free: 11.36 MB / 443.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/1.843, allocations: 122.2 kB / 0.5105 GB, free: 11.29 MB / 443.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.927e-05/1.843, allocations: 21.95 kB / 0.5105 GB, free: 11.28 MB / 443.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.066/1.909, allocations: 39.1 MB / 0.5487 GB, free: 8.562 MB / 475.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/1.909, allocations: 34.56 kB / 0.5487 GB, free: 8.52 MB / 475.2 MB Notification: Performance of pre-optimization done (n=34): time 2.054e-06/1.909, allocations: 0 / 0.5487 GB, free: 8.52 MB / 475.2 MB Notification: Performance of matching and sorting (n=34): time 0.0004868/1.909, allocations: 187.4 kB / 0.5489 GB, free: 8.336 MB / 475.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/1.91, allocations: 81.11 kB / 0.549 GB, free: 8.238 MB / 475.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/1.91, allocations: 178.6 kB / 0.5491 GB, free: 8.066 MB / 475.2 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/1.91, allocations: 25.7 kB / 0.5492 GB, free: 8.035 MB / 475.2 MB Notification: Performance of collectInitialEqns (initialization): time 7.065e-05/1.91, allocations: 159.5 kB / 0.5493 GB, free: 7.883 MB / 475.2 MB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/1.91, allocations: 117.9 kB / 0.5494 GB, free: 7.773 MB / 475.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/1.91, allocations: 55.77 kB / 0.5495 GB, free: 7.723 MB / 475.2 MB Notification: Performance of setup shared object (initialization): time 9.519e-05/1.91, allocations: 339.9 kB / 0.5498 GB, free: 7.391 MB / 475.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.088e-05/1.91, allocations: 30.73 kB / 0.5498 GB, free: 7.359 MB / 475.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-05/1.91, allocations: 113.2 kB / 0.5499 GB, free: 7.234 MB / 475.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/1.91, allocations: 130.8 kB / 0.5501 GB, free: 7.098 MB / 475.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/1.91, allocations: 0 / 0.5501 GB, free: 7.098 MB / 475.2 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0001853/1.91, allocations: 171.9 kB / 0.5502 GB, free: 6.93 MB / 475.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/1.91, allocations: 4 kB / 0.5502 GB, free: 6.926 MB / 475.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.91, allocations: 0 / 0.5502 GB, free: 6.926 MB / 475.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004018/1.911, allocations: 88.66 kB / 0.5503 GB, free: 6.84 MB / 475.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.459e-05/1.911, allocations: 27.33 kB / 0.5503 GB, free: 6.816 MB / 475.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003012/1.911, allocations: 0.5676 MB / 0.5509 GB, free: 6.227 MB / 475.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.48e-05/1.911, allocations: 23.73 kB / 0.5509 GB, free: 6.203 MB / 475.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/1.911, allocations: 8 kB / 0.5509 GB, free: 6.195 MB / 475.2 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.C.b,PuitsP1.C.a,Diaphragm.C1.a,Diaphragm.C2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 7.975e-05/1.911, allocations: 124.4 kB / 0.5511 GB, free: 6.07 MB / 475.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/1.911, allocations: 7.984 kB / 0.5511 GB, free: 6.062 MB / 475.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007592/1.912, allocations: 0.5233 MB / 0.5516 GB, free: 5.551 MB / 475.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000177/1.912, allocations: 135.5 kB / 0.5517 GB, free: 5.414 MB / 475.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/1.912, allocations: 0.75 kB / 0.5517 GB, free: 5.414 MB / 475.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.912, allocations: 5.312 kB / 0.5517 GB, free: 5.41 MB / 475.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005062/1.913, allocations: 0.4995 MB / 0.5522 GB, free: 4.914 MB / 475.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/1.913, allocations: 0 / 0.5522 GB, free: 4.914 MB / 475.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.355e-05/1.913, allocations: 19.98 kB / 0.5522 GB, free: 4.895 MB / 475.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001542/1.913, allocations: 83 kB / 0.5523 GB, free: 4.816 MB / 475.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/1.913, allocations: 4 kB / 0.5523 GB, free: 4.812 MB / 475.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002525/1.913, allocations: 0.584 MB / 0.5529 GB, free: 4.207 MB / 475.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/1.913, allocations: 0 / 0.5529 GB, free: 4.207 MB / 475.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/1.913, allocations: 305.7 kB / 0.5532 GB, free: 3.895 MB / 475.2 MB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/1.913, allocations: 19.84 kB / 0.5532 GB, free: 3.875 MB / 475.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/1.914, allocations: 7.953 kB / 0.5532 GB, free: 3.867 MB / 475.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.496e-05/1.914, allocations: 4 kB / 0.5532 GB, free: 3.863 MB / 475.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/1.914, allocations: 19.91 kB / 0.5532 GB, free: 3.844 MB / 475.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/1.914, allocations: 0.875 kB / 0.5532 GB, free: 3.844 MB / 475.2 MB Notification: Performance of sorting global known variables: time 6.458e-05/1.914, allocations: 87.64 kB / 0.5533 GB, free: 3.766 MB / 475.2 MB Notification: Performance of sort global known variables: time 8e-08/1.914, allocations: 4.031 kB / 0.5533 GB, free: 3.762 MB / 475.2 MB Notification: Performance of remove unused functions: time 0.003744/1.917, allocations: 1.234 MB / 0.5545 GB, free: 2.527 MB / 475.2 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 (13): * Single equations (assignments): 12 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00354/1.921, allocations: 2.084 MB / 0.5565 GB, free: 0.6836 MB / 475.2 MB Notification: Performance of simCode: created initialization part: time 0.0003252/1.921, allocations: 163.2 kB / 0.5567 GB, free: 0.5273 MB / 475.2 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/1.921, allocations: 0 / 0.5567 GB, free: 0.5273 MB / 475.2 MB Notification: Performance of simCode: created simulation system equations: time 9.898e-05/1.921, allocations: 68.34 kB / 0.5568 GB, free: 476 kB / 475.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/1.922, allocations: 122.9 kB / 0.5569 GB, free: 356 kB / 475.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009031/1.923, allocations: 0.4928 MB / 0.5574 GB, free: 15.84 MB / 491.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.807e-05/1.923, allocations: 93.56 kB / 0.5574 GB, free: 15.73 MB / 491.2 MB Notification: Performance of simCode: alias equations: time 6.136e-05/1.923, allocations: 22.08 kB / 0.5575 GB, free: 15.71 MB / 491.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/1.923, allocations: 113.3 kB / 0.5576 GB, free: 15.6 MB / 491.2 MB Notification: Performance of SimCode: time 9.61e-07/1.923, allocations: 0 / 0.5576 GB, free: 15.6 MB / 491.2 MB Notification: Performance of Templates: time 0.04754/1.97, allocations: 49.66 MB / 0.6061 GB, free: 14.2 MB / 0.5265 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.605889406986535]