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.8242/0.8242, allocations: 111.6 MB / 131 MB, free: 5.09 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.543e-06/1.543e-06, allocations: 0 / 175.7 MB, free: 9.449 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.298e-05, allocations: 6.25 kB / 175.7 MB, free: 9.441 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.71/1.71, allocations: 254.8 MB / 430.5 MB, free: 448 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04982/1.76, allocations: 33.19 MB / 463.7 MB, free: 15.12 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/1.76, allocations: 4 kB / 463.7 MB, free: 15.12 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.0005184/1.761, allocations: 163.2 kB / 463.8 MB, free: 14.96 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000305/1.761, allocations: 163 kB / 464 MB, free: 14.8 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 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.02597/1.787, allocations: 9.947 MB / 473.9 MB, free: 4.816 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006649/1.788, allocations: 406 kB / 474.3 MB, free: 4.418 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/1.788, allocations: 108.8 kB / 474.5 MB, free: 4.312 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004178/1.789, allocations: 259.2 kB / 474.7 MB, free: 4.059 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/1.789, allocations: 143.7 kB / 474.8 MB, free: 3.918 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.576e-05/1.789, allocations: 16 kB / 474.9 MB, free: 3.902 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03209/1.821, allocations: 16.84 MB / 491.7 MB, free: 3.035 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/1.821, allocations: 79.69 kB / 491.8 MB, free: 2.957 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002044/1.821, allocations: 99.77 kB / 491.9 MB, free: 2.859 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.197/2.018, allocations: 10.91 MB / 0.491 GB, free: 19.47 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/2.018, allocations: 1.188 kB / 0.491 GB, free: 19.47 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.392e-06/2.018, allocations: 0 / 0.491 GB, free: 19.47 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/2.018, allocations: 0 / 0.491 GB, free: 19.47 MB / 442.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.004716/2.023, allocations: 1.627 MB / 0.4926 GB, free: 18.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/2.023, allocations: 12.8 kB / 0.4926 GB, free: 18.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.327e-05/2.023, allocations: 55.98 kB / 0.4927 GB, free: 18.46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/2.023, allocations: 223.1 kB / 0.4929 GB, free: 18.29 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/2.023, allocations: 17.22 kB / 0.4929 GB, free: 18.29 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/2.023, allocations: 17.91 kB / 0.4929 GB, free: 18.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/2.024, allocations: 304.1 kB / 0.4932 GB, free: 18.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/2.024, allocations: 0 / 0.4932 GB, free: 18.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/2.024, allocations: 8.938 kB / 0.4932 GB, free: 18.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/2.024, allocations: 13.44 kB / 0.4932 GB, free: 18.18 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/2.024, allocations: 143.5 kB / 0.4933 GB, free: 18.18 MB / 442.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.03406/2.058, allocations: 11.28 MB / 0.5044 GB, free: 16.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/2.058, allocations: 95.69 kB / 0.5045 GB, free: 16.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.88e-05/2.058, allocations: 51.86 kB / 0.5045 GB, free: 16.49 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1557/2.214, allocations: 43.75 MB / 0.5472 GB, free: 14.17 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/2.214, allocations: 38.95 kB / 0.5473 GB, free: 14.12 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 2.184e-06/2.214, allocations: 4 kB / 0.5473 GB, free: 14.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.001245/2.215, allocations: 316.9 kB / 0.5476 GB, free: 13.84 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/2.215, allocations: 53.22 kB / 0.5476 GB, free: 13.78 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004463/2.216, allocations: 367 kB / 0.548 GB, free: 13.47 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/2.216, allocations: 27.95 kB / 0.548 GB, free: 13.44 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/2.216, allocations: 258.2 kB / 0.5482 GB, free: 13.23 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/2.216, allocations: 121.6 kB / 0.5484 GB, free: 13.13 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/2.216, allocations: 63.91 kB / 0.5484 GB, free: 13.07 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003074/2.217, allocations: 0.5376 MB / 0.5489 GB, free: 12.55 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/2.217, allocations: 55.62 kB / 0.549 GB, free: 12.51 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/2.217, allocations: 123.9 kB / 0.5491 GB, free: 12.39 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/2.217, allocations: 195.8 kB / 0.5493 GB, free: 12.23 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/2.217, allocations: 4 kB / 0.5493 GB, free: 12.22 MB / 474.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004951/2.218, allocations: 279.7 kB / 0.5496 GB, free: 11.99 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/2.218, allocations: 8.75 kB / 0.5496 GB, free: 11.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/2.218, allocations: 0 / 0.5496 GB, free: 11.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007341/2.218, allocations: 121.7 kB / 0.5497 GB, free: 11.87 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.557e-05/2.219, allocations: 19.45 kB / 0.5497 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008002/2.219, allocations: 0.8787 MB / 0.5506 GB, free: 10.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/2.22, allocations: 30.55 kB / 0.5506 GB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/2.22, allocations: 7.984 kB / 0.5506 GB, free: 10.95 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 (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 0.0001697/2.22, allocations: 182.5 kB / 0.5508 GB, free: 10.77 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.336e-05/2.22, allocations: 31.84 kB / 0.5508 GB, free: 10.74 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/2.221, allocations: 0.7435 MB / 0.5515 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004424/2.221, allocations: 204.3 kB / 0.5517 GB, free: 9.898 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/2.221, allocations: 3.375 kB / 0.5517 GB, free: 9.898 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/2.221, allocations: 0 / 0.5517 GB, free: 9.898 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/2.223, allocations: 0.7656 MB / 0.5525 GB, free: 9.246 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/2.223, allocations: 0 / 0.5525 GB, free: 9.246 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.274e-05/2.223, allocations: 16.56 kB / 0.5525 GB, free: 9.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003082/2.223, allocations: 86.92 kB / 0.5526 GB, free: 9.152 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/2.223, allocations: 7.938 kB / 0.5526 GB, free: 9.145 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007508/2.224, allocations: 0.8791 MB / 0.5535 GB, free: 8.262 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/2.224, allocations: 4.656 kB / 0.5535 GB, free: 8.258 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005936/2.224, allocations: 395.6 kB / 0.5538 GB, free: 7.891 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.552e-05/2.224, allocations: 42.73 kB / 0.5539 GB, free: 7.855 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.546e-05/2.224, allocations: 11.89 kB / 0.5539 GB, free: 7.844 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/2.225, allocations: 3.438 kB / 0.5539 GB, free: 7.844 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.509e-05/2.225, allocations: 8.859 kB / 0.5539 GB, free: 7.836 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/2.225, allocations: 11.61 kB / 0.5539 GB, free: 7.828 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003696/2.225, allocations: 318.5 kB / 0.5542 GB, free: 7.566 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/2.225, allocations: 0 / 0.5542 GB, free: 7.566 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004278/2.229, allocations: 1.231 MB / 0.5554 GB, free: 6.387 MB / 474.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.005511/2.235, allocations: 1.912 MB / 0.5573 GB, free: 4.715 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006856/2.235, allocations: 228.7 kB / 0.5575 GB, free: 4.488 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/2.235, allocations: 0 / 0.5575 GB, free: 4.488 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003282/2.236, allocations: 107.4 kB / 0.5576 GB, free: 4.383 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008055/2.237, allocations: 128.1 kB / 0.5577 GB, free: 4.262 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/2.238, allocations: 0.6004 MB / 0.5583 GB, free: 3.641 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/2.238, allocations: 196.7 kB / 0.5585 GB, free: 3.43 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.521e-05/2.238, allocations: 27.95 kB / 0.5585 GB, free: 3.406 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/2.238, allocations: 20.5 kB / 0.5585 GB, free: 3.387 MB / 474.7 MB Notification: Performance of SimCode: time 5.31e-07/2.238, allocations: 0 / 0.5585 GB, free: 3.387 MB / 474.7 MB Notification: Performance of Templates: time 0.07151/2.31, allocations: 43.52 MB / 0.601 GB, free: 8.113 MB / 0.5105 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: 8.277460662066005]