Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.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.5172/0.5172, allocations: 111.6 MB / 131.5 MB, free: 4.398 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.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 176.7 MB, free: 8.805 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.233e-05/3.48e-05, allocations: 2.312 kB / 176.7 MB, free: 8.801 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.TestDynamicCheckValve): time 1.14/1.14, allocations: 263.2 MB / 439.9 MB, free: 14.28 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3486/1.489, allocations: 181.2 MB / 0.6066 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000211/1.489, allocations: 11.88 kB / 0.6066 GB, free: 13.82 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/DynamicCheckValve.mo:46:3-47: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/DynamicCheckValve.mo:48:3-49: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.0001891/1.489, allocations: 71.42 kB / 0.6066 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003066/1.489, allocations: 154.6 kB / 0.6068 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.01872/1.508, allocations: 10.5 MB / 0.617 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005551/1.509, allocations: 0.5025 MB / 0.6175 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002882/1.509, allocations: 227.7 kB / 0.6177 GB, free: 2.328 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003524/1.509, allocations: 323.2 kB / 0.6181 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/1.51, allocations: 163.6 kB / 0.6182 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.701e-05/1.51, allocations: 36 kB / 0.6182 GB, free: 1.816 MB / 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.02505/1.535, allocations: 20.03 MB / 0.6378 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/1.535, allocations: 103.6 kB / 0.6379 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/1.535, allocations: 159.5 kB / 0.6381 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01481/1.55, allocations: 12.28 MB / 0.6501 GB, free: 1.191 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/1.55, allocations: 0 / 0.6501 GB, free: 1.191 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.292e-06/1.55, allocations: 4 kB / 0.6501 GB, free: 1.188 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.32e-06/1.55, allocations: 0 / 0.6501 GB, free: 1.188 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.003189/1.553, allocations: 1.84 MB / 0.6519 GB, free: 15.31 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/1.553, allocations: 11.98 kB / 0.6519 GB, free: 15.3 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/1.553, allocations: 79.92 kB / 0.6519 GB, free: 15.22 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/1.553, allocations: 276.8 kB / 0.6522 GB, free: 14.92 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.587e-05/1.553, allocations: 84.41 kB / 0.6523 GB, free: 14.83 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.059e-05/1.553, allocations: 44.53 kB / 0.6523 GB, free: 14.79 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/1.554, allocations: 325.5 kB / 0.6526 GB, free: 14.44 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/1.554, allocations: 3.953 kB / 0.6526 GB, free: 14.43 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/1.554, allocations: 16 kB / 0.6527 GB, free: 14.42 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/1.554, allocations: 11.94 kB / 0.6527 GB, free: 14.41 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/1.554, allocations: 131 kB / 0.6528 GB, free: 14.28 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000838/1.555, allocations: 1.006 MB / 0.6538 GB, free: 13.24 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/1.555, allocations: 94.5 kB / 0.6539 GB, free: 13.14 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.491e-05/1.555, allocations: 37.78 kB / 0.6539 GB, free: 13.1 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3185/1.873, allocations: 63.21 MB / 0.7156 GB, free: 94.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/1.874, allocations: 97.83 kB / 0.7157 GB, free: 94.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 2.344e-06/1.874, allocations: 2.094 kB / 0.7157 GB, free: 94.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.0004878/1.874, allocations: 191.6 kB / 0.7159 GB, free: 94.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.615e-05/1.874, allocations: 54.81 kB / 0.716 GB, free: 94.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/1.874, allocations: 318 kB / 0.7163 GB, free: 94.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/1.874, allocations: 31 kB / 0.7163 GB, free: 94.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.623e-05/1.875, allocations: 228 kB / 0.7165 GB, free: 94.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/1.875, allocations: 75.56 kB / 0.7166 GB, free: 94.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-05/1.875, allocations: 85.73 kB / 0.7167 GB, free: 94.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.226e-05/1.875, allocations: 340.2 kB / 0.717 GB, free: 93.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.324e-05/1.875, allocations: 31.33 kB / 0.717 GB, free: 93.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.834e-05/1.875, allocations: 133.3 kB / 0.7171 GB, free: 93.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/1.875, allocations: 201.8 kB / 0.7173 GB, free: 93.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/1.875, allocations: 1.438 kB / 0.7173 GB, free: 93.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003325/1.875, allocations: 242.3 kB / 0.7176 GB, free: 93.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/1.875, allocations: 10.25 kB / 0.7176 GB, free: 93.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/1.875, allocations: 3.281 kB / 0.7176 GB, free: 93.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004076/1.876, allocations: 104.6 kB / 0.7177 GB, free: 93.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/1.876, allocations: 54.89 kB / 0.7177 GB, free: 93.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000901/1.877, allocations: 1.99 MB / 0.7197 GB, free: 91.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/1.877, allocations: 37.55 kB / 0.7197 GB, free: 91.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/1.877, allocations: 7.938 kB / 0.7197 GB, free: 91.62 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 9 (checkValve.C2.diff_on_1,sourceP1.C.diff_on_2,sourceP1.fluid1,checkValve.fluid,puitsP1.fluid,checkValve.libre,$whenCondition1,$whenCondition2,sourceP1.C.ftype) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 8.829e-05/1.877, allocations: 137.7 kB / 0.7199 GB, free: 91.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/1.877, allocations: 31.59 kB / 0.7199 GB, free: 91.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002958/1.877, allocations: 217.5 kB / 0.7201 GB, free: 91.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/1.877, allocations: 3.312 kB / 0.7201 GB, free: 91.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/1.877, allocations: 1.344 kB / 0.7201 GB, free: 91.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.877, allocations: 0 / 0.7201 GB, free: 91.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/1.877, allocations: 187.4 kB / 0.7203 GB, free: 91.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/1.877, allocations: 1.094 kB / 0.7203 GB, free: 91.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/1.878, allocations: 50.61 kB / 0.7203 GB, free: 91.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001715/1.878, allocations: 50.97 kB / 0.7204 GB, free: 91.35 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/1.878, allocations: 6.594 kB / 0.7204 GB, free: 91.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001418/1.878, allocations: 0.5444 MB / 0.7209 GB, free: 90.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/1.878, allocations: 1.781 kB / 0.7209 GB, free: 90.83 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/1.878, allocations: 229.5 kB / 0.7211 GB, free: 90.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-05/1.878, allocations: 47.41 kB / 0.7212 GB, free: 90.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/1.878, allocations: 7.531 kB / 0.7212 GB, free: 90.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.752e-05/1.878, allocations: 9.469 kB / 0.7212 GB, free: 90.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/1.878, allocations: 32.98 kB / 0.7212 GB, free: 90.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/1.878, allocations: 6.281 kB / 0.7212 GB, free: 90.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.666e-05/1.879, allocations: 124.2 kB / 0.7213 GB, free: 90.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/1.879, allocations: 0 / 0.7213 GB, free: 90.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002837/1.881, allocations: 1.487 MB / 0.7228 GB, free: 90.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (checkValve.theta,checkValve.omega) * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,checkValve.libre) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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.003921/1.885, allocations: 2.558 MB / 0.7253 GB, free: 90.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003241/1.886, allocations: 273.8 kB / 0.7256 GB, free: 90.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/1.886, allocations: 6.719 kB / 0.7256 GB, free: 90.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.714e-05/1.886, allocations: 82.23 kB / 0.7256 GB, free: 90.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/1.886, allocations: 78.72 kB / 0.7257 GB, free: 90.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/1.887, allocations: 0.729 MB / 0.7264 GB, free: 90.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.62e-05/1.887, allocations: 105.8 kB / 0.7265 GB, free: 90 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001183/1.887, allocations: 53.7 kB / 0.7266 GB, free: 89.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/1.887, allocations: 109.2 kB / 0.7267 GB, free: 89.93 MB / 0.6198 GB Notification: Performance of SimCode: time 9.42e-07/1.887, allocations: 4.406 kB / 0.7267 GB, free: 89.93 MB / 0.6198 GB Notification: Performance of Templates: time 0.0466/1.934, allocations: 55.65 MB / 0.781 GB, free: 66.76 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.202581366989762]