Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.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.5075/0.5075, 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.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 176.7 MB, free: 8.852 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.189e-05, allocations: 11.72 kB / 176.7 MB, free: 8.844 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.TestDiaphragm): time 1.093/1.093, allocations: 262.9 MB / 439.6 MB, free: 15.04 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02917/1.122, allocations: 33.2 MB / 472.8 MB, free: 13.71 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/1.122, allocations: 0 / 472.8 MB, free: 13.71 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/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.0003061/1.122, allocations: 111.3 kB / 472.9 MB, free: 13.61 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/1.122, allocations: 123 kB / 473 MB, free: 13.48 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01617/1.139, allocations: 8.677 MB / 481.7 MB, free: 4.766 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004354/1.139, allocations: 362.8 kB / 482 MB, free: 4.41 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/1.139, allocations: 106.8 kB / 482.1 MB, free: 4.305 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/1.139, allocations: 227.3 kB / 482.3 MB, free: 4.082 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/1.14, allocations: 83.78 kB / 482.4 MB, free: 4 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/1.14, allocations: 19.94 kB / 482.4 MB, free: 3.98 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.1915/1.331, allocations: 18.13 MB / 0.4888 GB, free: 7.938 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/1.331, allocations: 46.89 kB / 0.4889 GB, free: 7.938 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/1.331, allocations: 91.86 kB / 0.489 GB, free: 7.938 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01575/1.347, allocations: 10.8 MB / 0.4995 GB, free: 3.969 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.347, allocations: 0 / 0.4995 GB, free: 3.969 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.122e-06/1.347, allocations: 0 / 0.4995 GB, free: 3.969 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/1.347, allocations: 0 / 0.4995 GB, free: 3.969 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002804/1.35, allocations: 1.401 MB / 0.5009 GB, free: 3.016 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/1.35, allocations: 14.61 kB / 0.5009 GB, free: 3.012 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/1.35, allocations: 29.34 kB / 0.5009 GB, free: 3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/1.35, allocations: 163.9 kB / 0.5011 GB, free: 2.848 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/1.35, allocations: 18.28 kB / 0.5011 GB, free: 2.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/1.35, allocations: 19.78 kB / 0.5011 GB, free: 2.836 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/1.35, allocations: 282.6 kB / 0.5014 GB, free: 2.617 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/1.35, allocations: 1.875 kB / 0.5014 GB, free: 2.617 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/1.35, allocations: 10.81 kB / 0.5014 GB, free: 2.609 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/1.35, allocations: 5.719 kB / 0.5014 GB, free: 2.609 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.285e-05/1.351, allocations: 81.89 kB / 0.5015 GB, free: 2.59 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.01501/1.366, allocations: 9.247 MB / 0.5105 GB, free: 11.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/1.366, allocations: 125.6 kB / 0.5106 GB, free: 11.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.159e-05/1.366, allocations: 28.86 kB / 0.5107 GB, free: 11.79 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06949/1.435, allocations: 39.1 MB / 0.5489 GB, free: 4.812 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/1.435, allocations: 35.06 kB / 0.5489 GB, free: 4.77 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 2.124e-06/1.435, allocations: 0 / 0.5489 GB, free: 4.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004372/1.436, allocations: 181.4 kB / 0.5491 GB, free: 4.586 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/1.436, allocations: 80.23 kB / 0.5491 GB, free: 4.492 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/1.436, allocations: 178 kB / 0.5493 GB, free: 4.324 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/1.436, allocations: 29.7 kB / 0.5493 GB, free: 4.289 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/1.436, allocations: 162.9 kB / 0.5495 GB, free: 4.133 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002868/1.436, allocations: 113.5 kB / 0.5496 GB, free: 4.027 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/1.436, allocations: 59.77 kB / 0.5497 GB, free: 3.973 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.87e-05/1.436, allocations: 335.6 kB / 0.55 GB, free: 3.645 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.274e-05/1.436, allocations: 30.83 kB / 0.55 GB, free: 3.613 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.736e-05/1.437, allocations: 106.5 kB / 0.5501 GB, free: 3.488 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/1.437, allocations: 136.5 kB / 0.5502 GB, free: 3.352 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.437, allocations: 0.6875 kB / 0.5502 GB, free: 3.352 MB / 474.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0001852/1.437, allocations: 167.9 kB / 0.5504 GB, free: 3.188 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/1.437, allocations: 8 kB / 0.5504 GB, free: 3.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/1.437, allocations: 3.984 kB / 0.5504 GB, free: 3.176 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003806/1.437, allocations: 86.47 kB / 0.5505 GB, free: 3.094 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.878e-05/1.437, allocations: 15.98 kB / 0.5505 GB, free: 3.078 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002878/1.438, allocations: 0.575 MB / 0.5511 GB, free: 2.484 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.946e-05/1.438, allocations: 24.36 kB / 0.5511 GB, free: 2.461 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/1.438, allocations: 8 kB / 0.5511 GB, free: 2.453 MB / 474.7 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.613e-05/1.438, allocations: 118.8 kB / 0.5512 GB, free: 2.332 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/1.438, allocations: 11.98 kB / 0.5512 GB, free: 2.32 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000457/1.438, allocations: 0.5206 MB / 0.5517 GB, free: 1.809 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001878/1.438, allocations: 144.5 kB / 0.5519 GB, free: 1.664 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/1.438, allocations: 0 / 0.5519 GB, free: 1.664 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.438, allocations: 0 / 0.5519 GB, free: 1.664 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005104/1.439, allocations: 0.4944 MB / 0.5524 GB, free: 1.172 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.439, allocations: 0 / 0.5524 GB, free: 1.172 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/1.439, allocations: 16 kB / 0.5524 GB, free: 1.156 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001524/1.439, allocations: 77.19 kB / 0.5524 GB, free: 1.082 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/1.439, allocations: 4 kB / 0.5524 GB, free: 1.078 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002511/1.439, allocations: 0.5765 MB / 0.553 GB, free: 492 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.439, allocations: 32 / 0.553 GB, free: 492 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/1.44, allocations: 322 kB / 0.5533 GB, free: 160 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/1.44, allocations: 15.84 kB / 0.5533 GB, free: 144 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/1.44, allocations: 15.94 kB / 0.5533 GB, free: 128 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.559e-05/1.44, allocations: 4.5 kB / 0.5534 GB, free: 124 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/1.44, allocations: 7.984 kB / 0.5534 GB, free: 116 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/1.44, allocations: 4 kB / 0.5534 GB, free: 112 kB / 474.7 MB Notification: Performance of sorting global known variables: time 6.343e-05/1.44, allocations: 88.97 kB / 0.5534 GB, free: 32 kB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/1.44, allocations: 0 / 0.5534 GB, free: 32 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.002398/1.442, allocations: 1.237 MB / 0.5547 GB, free: 14.79 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 (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.003924/1.446, allocations: 2.083 MB / 0.5567 GB, free: 12.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003621/1.447, allocations: 165.4 kB / 0.5568 GB, free: 12.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/1.447, allocations: 4 kB / 0.5569 GB, free: 12.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/1.447, allocations: 71.45 kB / 0.5569 GB, free: 12.72 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006049/1.447, allocations: 123.3 kB / 0.557 GB, free: 12.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008112/1.448, allocations: 496.2 kB / 0.5575 GB, free: 12.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.004e-05/1.448, allocations: 96 kB / 0.5576 GB, free: 12 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.279e-05/1.448, allocations: 24.41 kB / 0.5576 GB, free: 11.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/1.448, allocations: 117.2 kB / 0.5577 GB, free: 11.86 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/1.448, allocations: 0 / 0.5577 GB, free: 11.86 MB / 490.7 MB Notification: Performance of Templates: time 0.04776/1.496, allocations: 49.65 MB / 0.6062 GB, free: 10.5 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.087284890003502]