Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.509/0.509, 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.Fluid.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 176.7 MB, free: 8.863 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214e-05/1.365e-05, allocations: 2.312 kB / 176.7 MB, free: 8.859 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.Fluid.Examples.SimpleExamples.TestDiaphragm): time 1.056/1.056, allocations: 263 MB / 439.6 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3316/1.388, allocations: 183.5 MB / 0.6085 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/1.388, allocations: 11.88 kB / 0.6085 GB, free: 12.57 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:32:3-33:80:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Diaphragm.mo:27:3-28:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Diaphragm.mo:29:3-30:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0001043/1.388, allocations: 43.58 kB / 0.6085 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002579/1.388, allocations: 130.8 kB / 0.6087 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.01892/1.407, allocations: 11.11 MB / 0.6195 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004264/1.407, allocations: 430.5 kB / 0.6199 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/1.408, allocations: 181.6 kB / 0.6201 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002976/1.408, allocations: 263.4 kB / 0.6203 GB, free: 392 kB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/1.408, allocations: 123.6 kB / 0.6205 GB, free: 268 kB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/1.408, allocations: 32 kB / 0.6205 GB, free: 236 kB / 0.5261 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:56:5-56:88:writable] Warning: 'T' 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.02673/1.435, allocations: 21.09 MB / 0.6411 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/1.435, allocations: 91.67 kB / 0.6412 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001335/1.435, allocations: 127.7 kB / 0.6413 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01792/1.453, allocations: 12.9 MB / 0.6539 GB, free: 13.97 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.453, allocations: 3.938 kB / 0.6539 GB, free: 13.96 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.322e-06/1.453, allocations: 0 / 0.6539 GB, free: 13.96 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.025e-06/1.453, allocations: 4 kB / 0.6539 GB, free: 13.96 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.002437/1.455, allocations: 1.87 MB / 0.6557 GB, free: 12.05 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/1.455, allocations: 19.97 kB / 0.6557 GB, free: 12.04 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.35e-05/1.456, allocations: 59.95 kB / 0.6558 GB, free: 11.98 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/1.456, allocations: 239.9 kB / 0.656 GB, free: 11.71 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/1.456, allocations: 33 kB / 0.6561 GB, free: 11.68 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/1.456, allocations: 35.94 kB / 0.6561 GB, free: 11.65 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/1.456, allocations: 337.5 kB / 0.6564 GB, free: 11.28 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/1.456, allocations: 3.938 kB / 0.6564 GB, free: 11.27 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/1.456, allocations: 16 kB / 0.6564 GB, free: 11.26 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/1.456, allocations: 8 kB / 0.6564 GB, free: 11.25 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/1.456, allocations: 107.1 kB / 0.6566 GB, free: 11.15 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004176/1.46, allocations: 3.445 MB / 0.6599 GB, free: 7.664 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.762e-05/1.461, allocations: 42.61 kB / 0.66 GB, free: 7.613 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.208e-05/1.461, allocations: 24.78 kB / 0.66 GB, free: 7.586 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3499/1.811, allocations: 80.13 MB / 0.7382 GB, free: 90.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/1.811, allocations: 35.34 kB / 0.7383 GB, free: 90.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/1.811, allocations: 5.094 kB / 0.7383 GB, free: 90.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003771/1.811, allocations: 112.7 kB / 0.7384 GB, free: 90.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.015e-05/1.811, allocations: 79.02 kB / 0.7385 GB, free: 90.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/1.811, allocations: 288.8 kB / 0.7387 GB, free: 90.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.096e-06/1.811, allocations: 27.73 kB / 0.7388 GB, free: 90.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.61e-05/1.811, allocations: 239.1 kB / 0.739 GB, free: 89.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.23e-05/1.811, allocations: 28.34 kB / 0.739 GB, free: 89.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/1.811, allocations: 66.36 kB / 0.7391 GB, free: 89.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.585e-05/1.811, allocations: 332.6 kB / 0.7394 GB, free: 89.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.976e-05/1.811, allocations: 19.69 kB / 0.7394 GB, free: 89.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.741e-05/1.811, allocations: 158.6 kB / 0.7396 GB, free: 89.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/1.812, allocations: 166.1 kB / 0.7397 GB, free: 89.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.812, allocations: 0 / 0.7397 GB, free: 89.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002025/1.812, allocations: 184.5 kB / 0.7399 GB, free: 89.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/1.812, allocations: 11.28 kB / 0.7399 GB, free: 89.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.812, allocations: 3.75 kB / 0.7399 GB, free: 89.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000357/1.812, allocations: 67.11 kB / 0.74 GB, free: 89.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.095e-05/1.812, allocations: 44.36 kB / 0.74 GB, free: 89.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001792/1.812, allocations: 0.5371 MB / 0.7405 GB, free: 88.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.086e-05/1.812, allocations: 39.81 kB / 0.7406 GB, free: 88.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/1.812, allocations: 9.031 kB / 0.7406 GB, free: 88.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (Diaphragm.C2.diff_on_1,SourceP1.C.diff_on_2,SourceP1.fluid1,SourceP1.C.ftype,Diaphragm.fluid,PuitsP1.fluid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 7.347e-05/1.813, allocations: 133.2 kB / 0.7407 GB, free: 88.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/1.813, allocations: 15.88 kB / 0.7407 GB, free: 88.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/1.813, allocations: 137 kB / 0.7409 GB, free: 88.53 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/1.813, allocations: 0 / 0.7409 GB, free: 88.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/1.813, allocations: 3 kB / 0.7409 GB, free: 88.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/1.813, allocations: 2 kB / 0.7409 GB, free: 88.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/1.813, allocations: 144.6 kB / 0.741 GB, free: 88.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.813, allocations: 1.969 kB / 0.741 GB, free: 88.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.086e-05/1.813, allocations: 6.25 kB / 0.741 GB, free: 88.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001933/1.813, allocations: 54.66 kB / 0.7411 GB, free: 88.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/1.813, allocations: 1.875 kB / 0.7411 GB, free: 88.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001375/1.813, allocations: 0.5431 MB / 0.7416 GB, free: 87.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/1.813, allocations: 0 / 0.7416 GB, free: 87.92 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/1.813, allocations: 126.8 kB / 0.7417 GB, free: 87.85 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/1.814, allocations: 38.02 kB / 0.7418 GB, free: 87.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/1.814, allocations: 5.484 kB / 0.7418 GB, free: 87.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.363e-05/1.814, allocations: 6.797 kB / 0.7418 GB, free: 87.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/1.814, allocations: 5.188 kB / 0.7418 GB, free: 87.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/1.814, allocations: 2 kB / 0.7418 GB, free: 87.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.611e-05/1.814, allocations: 93.12 kB / 0.7419 GB, free: 87.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/1.814, allocations: 3.375 kB / 0.7419 GB, free: 87.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002367/1.816, allocations: 1.638 MB / 0.7435 GB, free: 87.81 MB / 0.6198 GB 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 (4): * Single equations (assignments): 3 * 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.00376/1.82, allocations: 2.858 MB / 0.7463 GB, free: 87.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001846/1.82, allocations: 98.94 kB / 0.7463 GB, free: 87.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.82, allocations: 4.469 kB / 0.7464 GB, free: 87.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.546e-05/1.82, allocations: 30.62 kB / 0.7464 GB, free: 87.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/1.82, allocations: 79.3 kB / 0.7465 GB, free: 87.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007034/1.821, allocations: 0.4996 MB / 0.7469 GB, free: 87.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.095e-05/1.821, allocations: 89.17 kB / 0.747 GB, free: 87.08 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.945e-05/1.821, allocations: 40.7 kB / 0.7471 GB, free: 87.06 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.97e-05/1.821, allocations: 103.4 kB / 0.7472 GB, free: 87.01 MB / 0.6198 GB Notification: Performance of SimCode: time 6.32e-07/1.821, allocations: 0 / 0.7472 GB, free: 87.01 MB / 0.6198 GB Notification: Performance of Templates: time 0.04119/1.862, allocations: 57.7 MB / 0.8035 GB, free: 43.63 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.6550180851481855]