Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo): time 0.4601/0.4601, allocations: 111.7 MB / 121.6 MB, free: 4.734 MB / 122.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07961/0.5397, allocations: 33.97 MB / 155.6 MB, free: 3.668 MB / 154.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend") translateModel(ThermoSysPro.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 156.9 MB, free: 2.391 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001e-05/1.131e-05, allocations: 5.547 kB / 156.9 MB, free: 2.387 MB / 154.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.TestBend): time 0.9614/0.9614, allocations: 233.5 MB / 390.4 MB, free: 2.516 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02779/0.9892, allocations: 33.81 MB / 424.2 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.9893, allocations: 4 kB / 424.2 MB, free: 0.5703 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSteam/PressureLosses/Bend.mo:35:3-36:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSteam/PressureLosses/Bend.mo:37:3-38:80:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] Notification: Performance of NFTyping.typeComponents: time 0.0003883/0.9897, allocations: 285.2 kB / 424.5 MB, free: 304 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002403/0.99, allocations: 282.7 kB / 424.7 MB, free: 20 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01453/1.005, allocations: 8.817 MB / 433.6 MB, free: 7.164 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004608/1.005, allocations: 0.5103 MB / 434.1 MB, free: 6.652 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/1.005, allocations: 166.7 kB / 434.2 MB, free: 6.492 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003316/1.005, allocations: 365.2 kB / 434.6 MB, free: 6.137 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/1.006, allocations: 243.5 kB / 434.8 MB, free: 5.898 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/1.006, allocations: 28 kB / 434.8 MB, free: 5.871 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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 4.2.0-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 4.2.0-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 4.2.0-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 4.2.0-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 4.2.0-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 4.2.0-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.02181/1.028, allocations: 18.25 MB / 453.1 MB, free: 3.602 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/1.028, allocations: 163.5 kB / 453.3 MB, free: 3.441 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/1.028, allocations: 127.6 kB / 453.4 MB, free: 3.316 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01015/1.038, allocations: 8.491 MB / 461.9 MB, free: 10.8 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.267e-05/1.038, allocations: 0 / 461.9 MB, free: 10.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.325e-06/1.038, allocations: 0 / 461.9 MB, free: 10.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.635e-05/1.038, allocations: 0 / 461.9 MB, free: 10.8 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003941/1.042, allocations: 2.435 MB / 464.3 MB, free: 8.312 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/1.042, allocations: 8.625 kB / 464.3 MB, free: 8.305 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/1.042, allocations: 59.94 kB / 464.4 MB, free: 8.246 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/1.042, allocations: 325 kB / 464.7 MB, free: 7.902 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/1.042, allocations: 20.44 kB / 464.7 MB, free: 7.883 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/1.042, allocations: 28 kB / 464.7 MB, free: 7.855 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005392/1.043, allocations: 335.9 kB / 465.1 MB, free: 7.477 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/1.043, allocations: 0 / 465.1 MB, free: 7.477 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/1.043, allocations: 12 kB / 465.1 MB, free: 7.465 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/1.043, allocations: 15.98 kB / 465.1 MB, free: 7.449 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/1.043, allocations: 94.62 kB / 465.2 MB, free: 7.352 MB / 458.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.01371/1.057, allocations: 9.412 MB / 474.6 MB, free: 13.88 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/1.057, allocations: 146.4 kB / 474.7 MB, free: 13.73 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/1.057, allocations: 32.86 kB / 474.8 MB, free: 13.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06087/1.118, allocations: 39.09 MB / 0.5018 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/1.118, allocations: 38.5 kB / 0.5019 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=38): time 1.953e-06/1.118, allocations: 0 / 0.5019 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of matching and sorting (n=38): time 0.0007173/1.119, allocations: 321.8 kB / 0.5022 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/1.119, allocations: 51.41 kB / 0.5022 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004033/1.119, allocations: 0.5914 MB / 0.5028 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/1.119, allocations: 29.7 kB / 0.5028 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.462e-05/1.119, allocations: 233.9 kB / 0.503 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.944e-05/1.119, allocations: 130.8 kB / 0.5032 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/1.119, allocations: 69.55 kB / 0.5032 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003205/1.12, allocations: 382.6 kB / 0.5036 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.199e-05/1.12, allocations: 39.31 kB / 0.5036 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.339e-05/1.12, allocations: 158.9 kB / 0.5038 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/1.12, allocations: 181.3 kB / 0.504 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.12, allocations: 0 / 0.504 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002226/1.12, allocations: 228.1 kB / 0.5042 GB, free: 4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/1.12, allocations: 8 kB / 0.5042 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/1.12, allocations: 0 / 0.5042 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005978/1.121, allocations: 168.7 kB / 0.5043 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.896e-05/1.121, allocations: 27.92 kB / 0.5044 GB, free: 3.797 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002922/1.121, allocations: 0.5933 MB / 0.505 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.472e-05/1.121, allocations: 35.72 kB / 0.505 GB, free: 3.145 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/1.121, allocations: 12.03 kB / 0.505 GB, free: 3.133 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.C.b,SinkP1.C.a,Bend.C1.a,Bend.C2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 9.028e-05/1.121, allocations: 128.6 kB / 0.5051 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/1.121, allocations: 31.95 kB / 0.5051 GB, free: 2.965 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003883/1.122, allocations: 0.5804 MB / 0.5057 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001117/1.122, allocations: 141.3 kB / 0.5059 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/1.122, allocations: 0 / 0.5059 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/1.122, allocations: 7.984 kB / 0.5059 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005026/1.122, allocations: 0.6214 MB / 0.5065 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.122, allocations: 4 kB / 0.5065 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.835e-05/1.122, allocations: 19.94 kB / 0.5065 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/1.122, allocations: 71.53 kB / 0.5066 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003308/1.123, allocations: 135.6 kB / 0.5067 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/1.123, allocations: 3.984 kB / 0.5067 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002772/1.123, allocations: 0.6397 MB / 0.5073 GB, free: 0.5977 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.123, allocations: 4 kB / 0.5073 GB, free: 0.5938 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/1.123, allocations: 333.4 kB / 0.5076 GB, free: 248 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/1.123, allocations: 19.91 kB / 0.5077 GB, free: 228 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.941e-05/1.123, allocations: 7.984 kB / 0.5077 GB, free: 220 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/1.123, allocations: 15.97 kB / 0.5077 GB, free: 204 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/1.123, allocations: 4 kB / 0.5077 GB, free: 200 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.1517/1.275, allocations: 302.5 kB / 0.508 GB, free: 78.85 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.31e-07/1.275, allocations: 0 / 0.508 GB, free: 78.85 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002372/1.277, allocations: 1.276 MB / 0.5092 GB, free: 78.85 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 11 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003632/1.281, allocations: 2.124 MB / 0.5113 GB, free: 78.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003858/1.281, allocations: 204.5 kB / 0.5115 GB, free: 78.71 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/1.281, allocations: 7.688 kB / 0.5115 GB, free: 78.71 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/1.282, allocations: 88.17 kB / 0.5116 GB, free: 78.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005684/1.282, allocations: 0.7798 MB / 0.5123 GB, free: 78.03 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/1.286, allocations: 1.017 MB / 0.5133 GB, free: 77.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/1.286, allocations: 169.5 kB / 0.5135 GB, free: 77.47 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001025/1.286, allocations: 39.42 kB / 0.5135 GB, free: 77.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/1.286, allocations: 139.5 kB / 0.5137 GB, free: 77.42 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/1.286, allocations: 4 kB / 0.5137 GB, free: 77.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.03568/1.322, allocations: 47.15 MB / 0.5597 GB, free: 52.68 MB / 0.4948 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06769/1.389, allocations: 53.75 MB / 0.6122 GB, free: 12.34 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.081263644620776]