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.4888/0.4888, allocations: 111.6 MB / 131.2 MB, free: 4.027 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.282e-06/1.282e-06, allocations: 0 / 176.2 MB, free: 8.832 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.512e-05, allocations: 5.594 kB / 176.2 MB, free: 8.828 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.022/1.022, allocations: 257.1 MB / 433.3 MB, free: 316 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02724/1.05, allocations: 33.34 MB / 466.6 MB, free: 14.85 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/1.05, allocations: 4 kB / 466.6 MB, free: 14.84 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.0004245/1.05, allocations: 151.2 kB / 466.8 MB, free: 14.7 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001866/1.05, allocations: 179 kB / 467 MB, free: 14.52 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.01646/1.067, allocations: 9.947 MB / 476.9 MB, free: 4.527 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004289/1.067, allocations: 398.1 kB / 477.3 MB, free: 4.137 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/1.068, allocations: 120.7 kB / 477.4 MB, free: 4.016 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002743/1.068, allocations: 251.3 kB / 477.7 MB, free: 3.77 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/1.068, allocations: 139.7 kB / 477.8 MB, free: 3.633 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/1.068, allocations: 16 kB / 477.8 MB, free: 3.617 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1875/1.255, allocations: 16.83 MB / 494.6 MB, free: 8.391 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/1.256, allocations: 80.45 kB / 494.7 MB, free: 8.391 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/1.256, allocations: 99.61 kB / 494.8 MB, free: 8.391 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01159/1.267, allocations: 10.82 MB / 0.4938 GB, free: 4.656 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.267, allocations: 0 / 0.4938 GB, free: 4.656 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.553e-06/1.267, allocations: 1.344 kB / 0.4938 GB, free: 4.656 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/1.267, allocations: 0 / 0.4938 GB, free: 4.656 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.002037/1.269, allocations: 1.608 MB / 0.4954 GB, free: 3.492 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/1.269, allocations: 11.7 kB / 0.4954 GB, free: 3.488 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/1.269, allocations: 52.36 kB / 0.4954 GB, free: 3.465 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/1.27, allocations: 218.6 kB / 0.4956 GB, free: 3.273 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/1.27, allocations: 18.91 kB / 0.4957 GB, free: 3.266 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/1.27, allocations: 20.67 kB / 0.4957 GB, free: 3.258 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/1.27, allocations: 270.8 kB / 0.4959 GB, free: 3.059 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/1.27, allocations: 0.5625 kB / 0.4959 GB, free: 3.059 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/1.27, allocations: 10.5 kB / 0.4959 GB, free: 3.051 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/1.27, allocations: 13.95 kB / 0.496 GB, free: 3.043 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/1.27, allocations: 109.8 kB / 0.4961 GB, free: 3.023 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.01706/1.287, allocations: 11.2 MB / 0.507 GB, free: 11.83 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/1.287, allocations: 78.42 kB / 0.5071 GB, free: 11.74 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.227e-05/1.287, allocations: 47.67 kB / 0.5071 GB, free: 11.69 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07293/1.36, allocations: 43.75 MB / 0.5498 GB, free: 15.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/1.36, allocations: 33.39 kB / 0.5499 GB, free: 15.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.805e-06/1.36, allocations: 0.9844 kB / 0.5499 GB, free: 15.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=34): time 0.000672/1.361, allocations: 290 kB / 0.5502 GB, free: 15.63 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/1.361, allocations: 55.41 kB / 0.5502 GB, free: 15.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/1.361, allocations: 334.2 kB / 0.5505 GB, free: 15.22 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/1.361, allocations: 29.64 kB / 0.5506 GB, free: 15.19 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/1.361, allocations: 243.3 kB / 0.5508 GB, free: 14.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/1.361, allocations: 118.1 kB / 0.5509 GB, free: 14.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.974e-05/1.361, allocations: 55.36 kB / 0.5509 GB, free: 14.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/1.362, allocations: 0.5235 MB / 0.5515 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.78e-05/1.362, allocations: 39.98 kB / 0.5515 GB, free: 14.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.333e-05/1.362, allocations: 107.2 kB / 0.5516 GB, free: 14.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/1.362, allocations: 170.1 kB / 0.5518 GB, free: 13.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.362, allocations: 0 / 0.5518 GB, free: 13.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002677/1.362, allocations: 235.1 kB / 0.552 GB, free: 13.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/1.362, allocations: 11.98 kB / 0.552 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.362, allocations: 0 / 0.552 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004405/1.363, allocations: 115.5 kB / 0.5521 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.26e-05/1.363, allocations: 11.98 kB / 0.5521 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004084/1.363, allocations: 0.8622 MB / 0.553 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.266e-05/1.363, allocations: 31.77 kB / 0.553 GB, free: 12.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/1.363, allocations: 11.98 kB / 0.553 GB, free: 12.59 MB / 490.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 8.953e-05/1.363, allocations: 160.6 kB / 0.5532 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/1.363, allocations: 27.81 kB / 0.5532 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005628/1.364, allocations: 0.6519 MB / 0.5538 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001941/1.364, allocations: 190.6 kB / 0.554 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/1.364, allocations: 0 / 0.554 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/1.364, allocations: 0 / 0.554 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006332/1.365, allocations: 0.688 MB / 0.5547 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.365, allocations: 0.75 kB / 0.5547 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/1.365, allocations: 19 kB / 0.5547 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001718/1.365, allocations: 89.73 kB / 0.5548 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/1.365, allocations: 7.938 kB / 0.5548 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003283/1.365, allocations: 0.854 MB / 0.5556 GB, free: 9.734 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.365, allocations: 0.5625 kB / 0.5556 GB, free: 9.734 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/1.366, allocations: 375.8 kB / 0.556 GB, free: 9.348 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/1.366, allocations: 39.73 kB / 0.556 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/1.366, allocations: 15.97 kB / 0.556 GB, free: 9.293 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.171e-05/1.366, allocations: 0.6875 kB / 0.556 GB, free: 9.293 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/1.366, allocations: 11.17 kB / 0.556 GB, free: 9.285 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/1.366, allocations: 11.98 kB / 0.5561 GB, free: 9.273 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001886/1.366, allocations: 279.1 kB / 0.5563 GB, free: 9 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/1.366, allocations: 0 / 0.5563 GB, free: 9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002092/1.368, allocations: 1.228 MB / 0.5575 GB, free: 7.77 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.003268/1.371, allocations: 1.922 MB / 0.5594 GB, free: 6.086 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003829/1.372, allocations: 210.1 kB / 0.5596 GB, free: 5.879 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/1.372, allocations: 256 / 0.5596 GB, free: 5.879 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/1.372, allocations: 91.73 kB / 0.5597 GB, free: 5.789 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/1.372, allocations: 125.3 kB / 0.5598 GB, free: 5.676 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/1.373, allocations: 0.5976 MB / 0.5604 GB, free: 5.051 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.298e-05/1.373, allocations: 110.9 kB / 0.5605 GB, free: 4.926 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.246e-05/1.373, allocations: 24.06 kB / 0.5605 GB, free: 4.902 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/1.373, allocations: 24.5 kB / 0.5605 GB, free: 4.875 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/1.373, allocations: 3.469 kB / 0.5605 GB, free: 4.875 MB / 490.7 MB Notification: Performance of Templates: time 0.03769/1.411, allocations: 43.52 MB / 0.603 GB, free: 9.66 MB / 0.5261 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.070628604851663]