Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.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.5965/0.5965, allocations: 111.6 MB / 131.5 MB, free: 4.895 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.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValve") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 176.6 MB, free: 8.973 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072e-05/1.206e-05, allocations: 5.047 kB / 176.6 MB, free: 8.969 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.TestControlValve): time 1.167/1.167, allocations: 262.9 MB / 439.4 MB, free: 15.04 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03107/1.198, allocations: 33.22 MB / 472.7 MB, free: 13.69 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/1.198, allocations: 4 kB / 472.7 MB, free: 13.69 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/ControlValve.mo:24:3-25: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/ControlValve.mo:26:3-27: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.0004469/1.198, allocations: 159.2 kB / 472.8 MB, free: 13.53 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002345/1.199, allocations: 179 kB / 473 MB, free: 13.36 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01755/1.216, allocations: 8.736 MB / 481.7 MB, free: 4.578 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004799/1.217, allocations: 398.1 kB / 482.1 MB, free: 4.188 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/1.217, allocations: 122.7 kB / 482.2 MB, free: 4.066 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/1.217, allocations: 243.4 kB / 482.5 MB, free: 3.828 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/1.217, allocations: 135.6 kB / 482.6 MB, free: 3.695 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/1.217, allocations: 24 kB / 482.6 MB, free: 3.672 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.2524/1.47, allocations: 18.12 MB / 0.489 GB, free: 7.66 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/1.47, allocations: 76.38 kB / 0.4891 GB, free: 7.66 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/1.47, allocations: 97.45 kB / 0.4892 GB, free: 7.66 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.012/1.482, allocations: 10.82 MB / 0.4998 GB, free: 3.641 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/1.482, allocations: 3.938 kB / 0.4998 GB, free: 3.637 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.202e-06/1.482, allocations: 1.469 kB / 0.4998 GB, free: 3.637 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/1.482, allocations: 0 / 0.4998 GB, free: 3.637 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.002768/1.485, allocations: 1.469 MB / 0.5012 GB, free: 2.637 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/1.485, allocations: 14.23 kB / 0.5012 GB, free: 2.633 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/1.485, allocations: 39.5 kB / 0.5012 GB, free: 2.617 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/1.485, allocations: 197.9 kB / 0.5014 GB, free: 2.453 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/1.485, allocations: 17.81 kB / 0.5015 GB, free: 2.445 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/1.485, allocations: 20.25 kB / 0.5015 GB, free: 2.438 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/1.485, allocations: 243.9 kB / 0.5017 GB, free: 2.266 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/1.485, allocations: 0 / 0.5017 GB, free: 2.266 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/1.485, allocations: 7.188 kB / 0.5017 GB, free: 2.262 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/1.485, allocations: 9.281 kB / 0.5017 GB, free: 2.258 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.117e-05/1.485, allocations: 96.22 kB / 0.5018 GB, free: 2.238 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.01436/1.5, allocations: 9.192 MB / 0.5108 GB, free: 11.58 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/1.5, allocations: 105.8 kB / 0.5109 GB, free: 11.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.621e-05/1.5, allocations: 28.84 kB / 0.5109 GB, free: 11.44 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06782/1.568, allocations: 39.08 MB / 0.5491 GB, free: 4.488 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/1.568, allocations: 30.56 kB / 0.5491 GB, free: 4.449 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 3.717e-06/1.568, allocations: 0.8438 kB / 0.5491 GB, free: 4.449 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005976/1.568, allocations: 213.7 kB / 0.5493 GB, free: 4.234 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/1.568, allocations: 51.41 kB / 0.5494 GB, free: 4.172 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/1.569, allocations: 257.1 kB / 0.5496 GB, free: 3.941 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/1.569, allocations: 25.7 kB / 0.5496 GB, free: 3.91 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.167e-05/1.569, allocations: 175.2 kB / 0.5498 GB, free: 3.746 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.296e-05/1.569, allocations: 118.8 kB / 0.5499 GB, free: 3.641 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-05/1.569, allocations: 47.55 kB / 0.55 GB, free: 3.598 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.818e-05/1.569, allocations: 346.3 kB / 0.5503 GB, free: 3.266 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.479e-05/1.569, allocations: 38.61 kB / 0.5503 GB, free: 3.227 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-05/1.569, allocations: 66.42 kB / 0.5504 GB, free: 3.152 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/1.569, allocations: 129.5 kB / 0.5505 GB, free: 3.023 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.569, allocations: 0 / 0.5505 GB, free: 3.023 MB / 474.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002046/1.569, allocations: 185.5 kB / 0.5507 GB, free: 2.844 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/1.569, allocations: 8.031 kB / 0.5507 GB, free: 2.836 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/1.569, allocations: 4 kB / 0.5507 GB, free: 2.832 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003435/1.57, allocations: 73.86 kB / 0.5508 GB, free: 2.758 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.255e-05/1.57, allocations: 12.56 kB / 0.5508 GB, free: 2.746 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003206/1.57, allocations: 0.5737 MB / 0.5513 GB, free: 2.156 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.056e-05/1.57, allocations: 27.73 kB / 0.5514 GB, free: 2.129 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/1.57, allocations: 4 kB / 0.5514 GB, free: 2.125 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.C.b,PuitsP1.C.a,ControlValve.C1.a,ControlValve.C2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * 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 8.886e-05/1.57, allocations: 120.5 kB / 0.5515 GB, free: 2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/1.57, allocations: 17.5 kB / 0.5515 GB, free: 1.984 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004737/1.571, allocations: 0.5265 MB / 0.552 GB, free: 1.469 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001481/1.571, allocations: 145.9 kB / 0.5522 GB, free: 1.324 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/1.571, allocations: 0.5 kB / 0.5522 GB, free: 1.324 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/1.571, allocations: 4 kB / 0.5522 GB, free: 1.32 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005069/1.571, allocations: 0.5285 MB / 0.5527 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.571, allocations: 4 kB / 0.5527 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.985e-05/1.571, allocations: 21.23 kB / 0.5527 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001606/1.572, allocations: 61.75 kB / 0.5528 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/1.572, allocations: 3.984 kB / 0.5528 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002996/1.572, allocations: 0.5984 MB / 0.5533 GB, free: 96 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.572, allocations: 0 / 0.5533 GB, free: 96 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/1.572, allocations: 317 kB / 0.5537 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/1.572, allocations: 31.69 kB / 0.5537 GB, free: 15.74 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/1.572, allocations: 11.89 kB / 0.5537 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.141e-05/1.572, allocations: 11.98 kB / 0.5537 GB, free: 15.72 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/1.572, allocations: 5.109 kB / 0.5537 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/1.572, allocations: 8 kB / 0.5537 GB, free: 15.71 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.841e-05/1.572, allocations: 130.5 kB / 0.5538 GB, free: 15.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/1.572, allocations: 0 / 0.5538 GB, free: 15.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002703/1.575, allocations: 1.22 MB / 0.555 GB, free: 14.37 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.003726/1.579, allocations: 2.055 MB / 0.557 GB, free: 12.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003189/1.579, allocations: 164 kB / 0.5572 GB, free: 12.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/1.579, allocations: 7 kB / 0.5572 GB, free: 12.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/1.579, allocations: 84.66 kB / 0.5573 GB, free: 12.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/1.58, allocations: 123.9 kB / 0.5574 GB, free: 12.19 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/1.581, allocations: 0.5984 MB / 0.558 GB, free: 11.56 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.401e-05/1.581, allocations: 112.3 kB / 0.5581 GB, free: 11.43 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.772e-05/1.581, allocations: 20.45 kB / 0.5581 GB, free: 11.42 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/1.581, allocations: 111.3 kB / 0.5582 GB, free: 11.31 MB / 490.7 MB Notification: Performance of SimCode: time 8.42e-07/1.581, allocations: 0 / 0.5582 GB, free: 11.31 MB / 490.7 MB Notification: Performance of Templates: time 0.05452/1.635, allocations: 49.65 MB / 0.6067 GB, free: 9.941 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValve -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.398658037185669]