Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.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.4993/0.4993, allocations: 111.6 MB / 131.7 MB, free: 5.07 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.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve") translateModel(ThermoSysPro.Examples.SimpleExamples.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 176.5 MB, free: 9.422 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.914e-05, allocations: 5.703 kB / 176.5 MB, free: 9.418 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.TestControlValve): time 1.162/1.162, allocations: 257 MB / 433.5 MB, free: 11.6 MB / 394.9 MB Notification: Performance of NFInst.instExpressions: time 0.02677/1.189, allocations: 33.24 MB / 466.8 MB, free: 10.23 MB / 426.9 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/1.189, allocations: 0 / 466.8 MB, free: 10.23 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/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.0004008/1.19, allocations: 163.2 kB / 466.9 MB, free: 10.07 MB / 426.9 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/1.19, allocations: 179 kB / 467.1 MB, free: 9.891 MB / 426.9 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:525:9-525:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:708:9-708:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01607/1.206, allocations: 9.931 MB / 477 MB, free: 15.92 MB / 442.9 MB Notification: Performance of NFFlatten.flatten: time 0.0003834/1.206, allocations: 406 kB / 477.4 MB, free: 15.52 MB / 442.9 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/1.207, allocations: 116.8 kB / 477.5 MB, free: 15.41 MB / 442.9 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/1.207, allocations: 247.3 kB / 477.8 MB, free: 15.17 MB / 442.9 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/1.207, allocations: 139.7 kB / 477.9 MB, free: 15.03 MB / 442.9 MB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/1.207, allocations: 20 kB / 477.9 MB, free: 15.01 MB / 442.9 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3146/1.521, allocations: 16.84 MB / 494.8 MB, free: 15.61 MB / 443.2 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/1.522, allocations: 76.7 kB / 494.9 MB, free: 15.61 MB / 443.2 MB Notification: Performance of NFVerifyModel.verify: time 0.0001512/1.522, allocations: 100.9 kB / 495 MB, free: 15.61 MB / 443.2 MB Notification: Performance of NFConvertDAE.convert: time 0.01484/1.537, allocations: 10.81 MB / 0.4939 GB, free: 15.51 MB / 443.2 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.537, allocations: 3.75 kB / 0.4939 GB, free: 15.51 MB / 443.2 MB Notification: Performance of FrontEnd: time 2.164e-06/1.537, allocations: 1.406 kB / 0.4939 GB, free: 15.51 MB / 443.2 MB Notification: Performance of Transformations before backend: time 6.783e-06/1.537, allocations: 0.75 kB / 0.4939 GB, free: 15.51 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.003293/1.54, allocations: 1.604 MB / 0.4955 GB, free: 14.5 MB / 443.2 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/1.54, allocations: 12.95 kB / 0.4955 GB, free: 14.5 MB / 443.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.591e-05/1.54, allocations: 54.3 kB / 0.4955 GB, free: 14.48 MB / 443.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/1.54, allocations: 229.7 kB / 0.4958 GB, free: 14.31 MB / 443.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/1.54, allocations: 17.16 kB / 0.4958 GB, free: 14.31 MB / 443.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/1.54, allocations: 19.91 kB / 0.4958 GB, free: 14.31 MB / 443.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/1.541, allocations: 269.5 kB / 0.4961 GB, free: 14.18 MB / 443.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/1.541, allocations: 1.969 kB / 0.4961 GB, free: 14.18 MB / 443.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/1.541, allocations: 10.47 kB / 0.4961 GB, free: 14.18 MB / 443.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/1.541, allocations: 16.36 kB / 0.4961 GB, free: 14.18 MB / 443.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/1.541, allocations: 112.1 kB / 0.4962 GB, free: 14.18 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.01718/1.558, allocations: 11.2 MB / 0.5071 GB, free: 12.56 MB / 443.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/1.558, allocations: 85.92 kB / 0.5072 GB, free: 12.52 MB / 443.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/1.558, allocations: 44.7 kB / 0.5073 GB, free: 12.51 MB / 443.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07087/1.629, allocations: 43.75 MB / 0.55 GB, free: 6.277 MB / 475.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/1.629, allocations: 41.38 kB / 0.55 GB, free: 6.227 MB / 475.2 MB Notification: Performance of pre-optimization done (n=34): time 1.643e-06/1.629, allocations: 4 kB / 0.55 GB, free: 6.223 MB / 475.2 MB Notification: Performance of matching and sorting (n=34): time 0.0006946/1.63, allocations: 287.1 kB / 0.5503 GB, free: 5.938 MB / 475.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/1.63, allocations: 51.41 kB / 0.5503 GB, free: 5.875 MB / 475.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/1.63, allocations: 338.3 kB / 0.5507 GB, free: 5.527 MB / 475.2 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/1.63, allocations: 25.7 kB / 0.5507 GB, free: 5.496 MB / 475.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/1.63, allocations: 246.1 kB / 0.5509 GB, free: 5.254 MB / 475.2 MB Notification: Performance of collectInitialBindings (initialization): time 5.665e-05/1.63, allocations: 117.9 kB / 0.551 GB, free: 5.141 MB / 475.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.956e-05/1.63, allocations: 59.34 kB / 0.5511 GB, free: 5.074 MB / 475.2 MB Notification: Performance of setup shared object (initialization): time 0.0001917/1.63, allocations: 0.5235 MB / 0.5516 GB, free: 4.539 MB / 475.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.079e-05/1.63, allocations: 35.98 kB / 0.5516 GB, free: 4.504 MB / 475.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.238e-05/1.631, allocations: 103.8 kB / 0.5517 GB, free: 4.383 MB / 475.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/1.631, allocations: 169.2 kB / 0.5519 GB, free: 4.203 MB / 475.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.631, allocations: 0 / 0.5519 GB, free: 4.203 MB / 475.2 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002594/1.631, allocations: 243.4 kB / 0.5521 GB, free: 3.961 MB / 475.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/1.631, allocations: 8 kB / 0.5521 GB, free: 3.953 MB / 475.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/1.631, allocations: 0 / 0.5521 GB, free: 3.953 MB / 475.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004232/1.631, allocations: 111.6 kB / 0.5522 GB, free: 3.84 MB / 475.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.365e-05/1.631, allocations: 15.28 kB / 0.5523 GB, free: 3.828 MB / 475.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004663/1.632, allocations: 0.8556 MB / 0.5531 GB, free: 2.941 MB / 475.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.032e-05/1.632, allocations: 27.73 kB / 0.5531 GB, free: 2.914 MB / 475.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/1.632, allocations: 4 kB / 0.5531 GB, free: 2.91 MB / 475.2 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 (ControlValve.C2.b,ControlValve.C1.a,PuitsP1.C.a,SourceP1.C.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.85e-05/1.632, allocations: 163.7 kB / 0.5533 GB, free: 2.742 MB / 475.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/1.632, allocations: 35.84 kB / 0.5533 GB, free: 2.707 MB / 475.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005562/1.633, allocations: 0.6504 MB / 0.5539 GB, free: 1.961 MB / 475.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001911/1.633, allocations: 188.5 kB / 0.5541 GB, free: 1.77 MB / 475.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/1.633, allocations: 0 / 0.5541 GB, free: 1.77 MB / 475.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.633, allocations: 0 / 0.5541 GB, free: 1.77 MB / 475.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006212/1.633, allocations: 0.6915 MB / 0.5548 GB, free: 1.043 MB / 475.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.633, allocations: 0 / 0.5548 GB, free: 1.043 MB / 475.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.684e-05/1.634, allocations: 19.98 kB / 0.5548 GB, free: 1.023 MB / 475.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001736/1.634, allocations: 78.91 kB / 0.5549 GB, free: 0.9453 MB / 475.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/1.634, allocations: 7.938 kB / 0.5549 GB, free: 0.9375 MB / 475.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003204/1.634, allocations: 0.8664 MB / 0.5558 GB, free: 40 kB / 475.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.634, allocations: 0 / 0.5558 GB, free: 40 kB / 475.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/1.634, allocations: 373.6 kB / 0.5561 GB, free: 15.66 MB / 491.2 MB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/1.634, allocations: 43.67 kB / 0.5561 GB, free: 15.61 MB / 491.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/1.634, allocations: 13.38 kB / 0.5562 GB, free: 15.6 MB / 491.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.127e-05/1.634, allocations: 0 / 0.5562 GB, free: 15.6 MB / 491.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/1.635, allocations: 11.97 kB / 0.5562 GB, free: 15.59 MB / 491.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/1.635, allocations: 8 kB / 0.5562 GB, free: 15.58 MB / 491.2 MB Notification: Performance of sorting global known variables: time 0.0001783/1.635, allocations: 279.1 kB / 0.5564 GB, free: 15.31 MB / 491.2 MB Notification: Performance of sort global known variables: time 6e-08/1.635, allocations: 4.031 kB / 0.5565 GB, free: 15.3 MB / 491.2 MB Notification: Performance of remove unused functions: time 0.002828/1.638, allocations: 1.231 MB / 0.5577 GB, free: 14.07 MB / 491.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: 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.003728/1.641, allocations: 1.908 MB / 0.5595 GB, free: 12.39 MB / 491.2 MB Notification: Performance of simCode: created initialization part: time 0.0003823/1.642, allocations: 216 kB / 0.5597 GB, free: 12.18 MB / 491.2 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.642, allocations: 0 / 0.5597 GB, free: 12.18 MB / 491.2 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/1.642, allocations: 90.86 kB / 0.5598 GB, free: 12.09 MB / 491.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/1.642, allocations: 127.7 kB / 0.5599 GB, free: 11.97 MB / 491.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/1.643, allocations: 0.6049 MB / 0.5605 GB, free: 11.35 MB / 491.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.251e-05/1.643, allocations: 108.2 kB / 0.5606 GB, free: 11.22 MB / 491.2 MB Notification: Performance of simCode: alias equations: time 6.126e-05/1.643, allocations: 24.53 kB / 0.5606 GB, free: 11.2 MB / 491.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/1.643, allocations: 24.5 kB / 0.5607 GB, free: 11.17 MB / 491.2 MB Notification: Performance of SimCode: time 9.12e-07/1.643, allocations: 0 / 0.5607 GB, free: 11.17 MB / 491.2 MB Notification: Performance of Templates: time 0.03658/1.68, allocations: 43.52 MB / 0.6032 GB, free: 15.91 MB / 0.5265 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.187551551964134]