Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve.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.5155/0.5155, allocations: 111.6 MB / 131.5 MB, free: 4.914 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.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 176.6 MB, free: 8.941 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.285e-05/3.532e-05, allocations: 5.047 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.TestCheckValve): time 1.367/1.367, allocations: 262.9 MB / 439.5 MB, free: 9.125 MB / 394.9 MB Notification: Performance of NFInst.instExpressions: time 0.03167/1.399, allocations: 33.03 MB / 472.5 MB, free: 7.973 MB / 426.9 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002441/1.399, allocations: 4 kB / 472.5 MB, free: 7.969 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/CheckValve.mo:23:3-24:81: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/CheckValve.mo:25:3-26:79: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.0004067/1.4, allocations: 111.3 kB / 472.6 MB, free: 7.859 MB / 426.9 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/1.4, allocations: 127 kB / 472.7 MB, free: 7.734 MB / 426.9 MB Notification: Performance of NFTyping.typeClassSections: time 0.01993/1.42, allocations: 8.627 MB / 481.4 MB, free: 15.06 MB / 442.9 MB Notification: Performance of NFFlatten.flatten: time 0.0005062/1.42, allocations: 389.9 kB / 481.7 MB, free: 14.68 MB / 442.9 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/1.421, allocations: 114.8 kB / 481.8 MB, free: 14.57 MB / 442.9 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/1.421, allocations: 243.2 kB / 482.1 MB, free: 14.33 MB / 442.9 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/1.421, allocations: 87.73 kB / 482.2 MB, free: 14.24 MB / 442.9 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/1.421, allocations: 20 kB / 482.2 MB, free: 14.22 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.3994/1.82, allocations: 18.05 MB / 0.4885 GB, free: 14.57 MB / 443.2 MB Notification: Performance of NFScalarize.scalarize: time 8.848e-05/1.82, allocations: 52.44 kB / 0.4886 GB, free: 14.57 MB / 443.2 MB Notification: Performance of NFVerifyModel.verify: time 0.0001825/1.821, allocations: 98.25 kB / 0.4887 GB, free: 14.57 MB / 443.2 MB Notification: Performance of NFConvertDAE.convert: time 0.02258/1.843, allocations: 10.75 MB / 0.4992 GB, free: 14.41 MB / 443.2 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.843, allocations: 0 / 0.4992 GB, free: 14.41 MB / 443.2 MB Notification: Performance of FrontEnd: time 2.204e-06/1.843, allocations: 4.438 kB / 0.4992 GB, free: 14.41 MB / 443.2 MB Notification: Performance of Transformations before backend: time 7.784e-06/1.843, allocations: 0 / 0.4992 GB, free: 14.41 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.003835/1.847, allocations: 1.419 MB / 0.5006 GB, free: 13.59 MB / 443.2 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/1.847, allocations: 13.58 kB / 0.5006 GB, free: 13.59 MB / 443.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/1.847, allocations: 35.48 kB / 0.5006 GB, free: 13.59 MB / 443.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/1.847, allocations: 170.2 kB / 0.5008 GB, free: 13.43 MB / 443.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.02e-05/1.847, allocations: 44.75 kB / 0.5008 GB, free: 13.4 MB / 443.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/1.847, allocations: 23.44 kB / 0.5008 GB, free: 13.4 MB / 443.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/1.848, allocations: 244.9 kB / 0.5011 GB, free: 13.3 MB / 443.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.848, allocations: 0.8438 kB / 0.5011 GB, free: 13.3 MB / 443.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/1.848, allocations: 10.03 kB / 0.5011 GB, free: 13.3 MB / 443.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/1.848, allocations: 14.47 kB / 0.5011 GB, free: 13.3 MB / 443.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.577e-05/1.848, allocations: 83.45 kB / 0.5012 GB, free: 13.29 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.008199/1.856, allocations: 5.055 MB / 0.5061 GB, free: 12.49 MB / 443.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/1.856, allocations: 112.4 kB / 0.5062 GB, free: 12.42 MB / 443.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.112e-05/1.856, allocations: 36.81 kB / 0.5062 GB, free: 12.41 MB / 443.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.071/1.927, allocations: 43.17 MB / 0.5484 GB, free: 9.289 MB / 475.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000219/1.927, allocations: 143.8 kB / 0.5485 GB, free: 9.148 MB / 475.2 MB Notification: Performance of pre-optimization done (n=43): time 1.673e-06/1.927, allocations: 0 / 0.5485 GB, free: 9.148 MB / 475.2 MB Notification: Performance of matching and sorting (n=43): time 0.0004241/1.928, allocations: 232.2 kB / 0.5488 GB, free: 8.922 MB / 475.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/1.928, allocations: 81.11 kB / 0.5488 GB, free: 8.824 MB / 475.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/1.928, allocations: 180.6 kB / 0.549 GB, free: 8.652 MB / 475.2 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/1.928, allocations: 25.7 kB / 0.549 GB, free: 8.621 MB / 475.2 MB Notification: Performance of collectInitialEqns (initialization): time 6.663e-05/1.928, allocations: 150.3 kB / 0.5492 GB, free: 8.473 MB / 475.2 MB Notification: Performance of collectInitialBindings (initialization): time 6.146e-05/1.928, allocations: 135.1 kB / 0.5493 GB, free: 8.352 MB / 475.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/1.928, allocations: 59.92 kB / 0.5494 GB, free: 8.297 MB / 475.2 MB Notification: Performance of setup shared object (initialization): time 8.154e-05/1.928, allocations: 333.9 kB / 0.5497 GB, free: 7.973 MB / 475.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.157e-05/1.928, allocations: 35.31 kB / 0.5497 GB, free: 7.938 MB / 475.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-05/1.928, allocations: 96.94 kB / 0.5498 GB, free: 7.828 MB / 475.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/1.928, allocations: 215.6 kB / 0.55 GB, free: 7.609 MB / 475.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/1.928, allocations: 3.938 kB / 0.55 GB, free: 7.605 MB / 475.2 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002189/1.929, allocations: 194.2 kB / 0.5502 GB, free: 7.422 MB / 475.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/1.929, allocations: 8 kB / 0.5502 GB, free: 7.414 MB / 475.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/1.929, allocations: 0 / 0.5502 GB, free: 7.414 MB / 475.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002736/1.929, allocations: 86.98 kB / 0.5503 GB, free: 7.332 MB / 475.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.795e-05/1.929, allocations: 22.61 kB / 0.5503 GB, free: 7.312 MB / 475.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002597/1.929, allocations: 0.5579 MB / 0.5509 GB, free: 6.738 MB / 475.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.604e-05/1.929, allocations: 27.83 kB / 0.5509 GB, free: 6.711 MB / 475.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/1.929, allocations: 8 kB / 0.5509 GB, free: 6.703 MB / 475.2 MB Warning: Assuming fixed start value for the following 1 variables: pulse.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.checkValve3.touvert,$whenCondition3,$PRE.checkValve3.tferme,$whenCondition2,$whenCondition1,sourceP1.C.b,puitsP1.C.a,checkValve3.C1.a,checkValve3.C2.b,$PRE.pulse.T0,checkValve3.tferme,checkValve3.touvert,checkValve3.ouvert,$PRE.checkValve3.ouvert,pulse.T0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 20 * 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 0.0001105/1.929, allocations: 128.7 kB / 0.551 GB, free: 6.57 MB / 475.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/1.929, allocations: 15.98 kB / 0.551 GB, free: 6.555 MB / 475.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002884/1.93, allocations: 327.6 kB / 0.5513 GB, free: 6.207 MB / 475.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001271/1.93, allocations: 168.2 kB / 0.5515 GB, free: 6.039 MB / 475.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/1.93, allocations: 0.75 kB / 0.5515 GB, free: 6.039 MB / 475.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/1.93, allocations: 0 / 0.5515 GB, free: 6.039 MB / 475.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000852/1.931, allocations: 0.5599 MB / 0.5521 GB, free: 5.484 MB / 475.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.931, allocations: 0 / 0.5521 GB, free: 5.484 MB / 475.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.479e-05/1.931, allocations: 27.08 kB / 0.5521 GB, free: 5.461 MB / 475.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002024/1.931, allocations: 76.94 kB / 0.5522 GB, free: 5.387 MB / 475.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/1.931, allocations: 4 kB / 0.5522 GB, free: 5.383 MB / 475.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002169/1.931, allocations: 0.5645 MB / 0.5527 GB, free: 4.797 MB / 475.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/1.931, allocations: 4.031 kB / 0.5527 GB, free: 4.793 MB / 475.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/1.931, allocations: 338.5 kB / 0.553 GB, free: 4.453 MB / 475.2 MB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/1.931, allocations: 31.73 kB / 0.5531 GB, free: 4.422 MB / 475.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/1.931, allocations: 15.89 kB / 0.5531 GB, free: 4.406 MB / 475.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.895e-05/1.932, allocations: 11.98 kB / 0.5531 GB, free: 4.395 MB / 475.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/1.932, allocations: 15.97 kB / 0.5531 GB, free: 4.379 MB / 475.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/1.932, allocations: 8.859 kB / 0.5531 GB, free: 4.371 MB / 475.2 MB Notification: Performance of sorting global known variables: time 4.858e-05/1.932, allocations: 66.02 kB / 0.5532 GB, free: 4.309 MB / 475.2 MB Notification: Performance of sort global known variables: time 6e-08/1.932, allocations: 0 / 0.5532 GB, free: 4.309 MB / 475.2 MB Notification: Performance of remove unused functions: time 0.003003/1.935, allocations: 1.216 MB / 0.5544 GB, free: 3.09 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: 7 ($whenCondition3,$whenCondition2,$whenCondition1,pulse.T0,checkValve3.ouvert,checkValve3.touvert,checkValve3.tferme) * Number of discrete states: 2 (checkValve3.touvert,checkValve3.tferme) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.003328/1.938, allocations: 2.048 MB / 0.5564 GB, free: 1.277 MB / 475.2 MB Notification: Performance of simCode: created initialization part: time 0.0002995/1.938, allocations: 187.8 kB / 0.5565 GB, free: 1.098 MB / 475.2 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/1.938, allocations: 4 kB / 0.5565 GB, free: 1.094 MB / 475.2 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/1.938, allocations: 95.36 kB / 0.5566 GB, free: 1.008 MB / 475.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/1.939, allocations: 117.8 kB / 0.5568 GB, free: 0.8984 MB / 475.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008644/1.94, allocations: 0.5581 MB / 0.5573 GB, free: 336 kB / 475.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.643e-05/1.94, allocations: 96.81 kB / 0.5574 GB, free: 220 kB / 475.2 MB Notification: Performance of simCode: alias equations: time 6.75e-05/1.94, allocations: 21.64 kB / 0.5574 GB, free: 200 kB / 475.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/1.94, allocations: 115.3 kB / 0.5575 GB, free: 84 kB / 475.2 MB Notification: Performance of SimCode: time 7.81e-07/1.94, allocations: 0 / 0.5575 GB, free: 84 kB / 475.2 MB Notification: Performance of Templates: time 0.04765/1.988, allocations: 49.51 MB / 0.6059 GB, free: 14.84 MB / 0.5265 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.5420593111775815]