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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.7994/0.7994, 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.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 2.194e-06/2.194e-06, allocations: 0 / 175.7 MB, free: 9.438 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.116e-05/3.335e-05, allocations: 7.859 kB / 175.7 MB, free: 9.434 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.TestBend): time 1.699/1.699, allocations: 254.8 MB / 430.6 MB, free: 428 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04983/1.749, allocations: 33.5 MB / 464.1 MB, free: 14.79 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002357/1.749, allocations: 0 / 464.1 MB, free: 14.79 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/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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). Notification: Performance of NFTyping.typeComponents: time 0.0006222/1.75, allocations: 263 kB / 464.3 MB, free: 14.53 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004312/1.75, allocations: 294.7 kB / 464.6 MB, free: 14.24 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.0266/1.777, allocations: 10.04 MB / 474.6 MB, free: 4.168 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008053/1.778, allocations: 0.5025 MB / 475.1 MB, free: 3.664 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002714/1.778, allocations: 180.6 kB / 475.3 MB, free: 3.488 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004971/1.778, allocations: 323.2 kB / 475.6 MB, free: 3.172 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003964/1.779, allocations: 283.4 kB / 475.9 MB, free: 2.895 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.41e-05/1.779, allocations: 24 kB / 475.9 MB, free: 2.871 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03219/1.811, allocations: 16.92 MB / 492.9 MB, free: 1.926 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002584/1.811, allocations: 179.4 kB / 493 MB, free: 1.75 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000285/1.811, allocations: 155.5 kB / 493.2 MB, free: 1.598 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1994/2.011, allocations: 11.25 MB / 0.4926 GB, free: 18.18 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/2.011, allocations: 1.281 kB / 0.4926 GB, free: 18.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.603e-06/2.011, allocations: 1.625 kB / 0.4926 GB, free: 18.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.989e-06/2.011, allocations: 0 / 0.4926 GB, free: 18.18 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.005598/2.016, allocations: 1.963 MB / 0.4945 GB, free: 17.04 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/2.017, allocations: 13.7 kB / 0.4945 GB, free: 17.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/2.017, allocations: 104.6 kB / 0.4946 GB, free: 16.99 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/2.017, allocations: 359 kB / 0.495 GB, free: 16.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/2.017, allocations: 18.12 kB / 0.495 GB, free: 16.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/2.017, allocations: 25 kB / 0.495 GB, free: 16.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004562/2.018, allocations: 423.6 kB / 0.4954 GB, free: 16.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/2.018, allocations: 0.9688 kB / 0.4954 GB, free: 16.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/2.018, allocations: 14.41 kB / 0.4954 GB, free: 16.55 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/2.018, allocations: 15.06 kB / 0.4955 GB, free: 16.55 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002856/2.018, allocations: 164.4 kB / 0.4956 GB, free: 16.55 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.03507/2.053, allocations: 11.72 MB / 0.5071 GB, free: 14.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005189/2.054, allocations: 128.4 kB / 0.5072 GB, free: 14.74 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.109e-05/2.054, allocations: 64.16 kB / 0.5072 GB, free: 14.72 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1566/2.21, allocations: 43.79 MB / 0.55 GB, free: 11.43 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.05e-05/2.21, allocations: 40.7 kB / 0.55 GB, free: 11.38 MB / 474.7 MB Notification: Performance of pre-optimization done (n=38): time 2.074e-06/2.21, allocations: 0 / 0.55 GB, free: 11.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=38): time 0.00198/2.212, allocations: 450.6 kB / 0.5505 GB, free: 10.98 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002099/2.213, allocations: 120.2 kB / 0.5506 GB, free: 10.85 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/2.214, allocations: 0.8031 MB / 0.5514 GB, free: 10.21 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/2.214, allocations: 25.7 kB / 0.5514 GB, free: 10.18 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/2.214, allocations: 414.9 kB / 0.5518 GB, free: 9.906 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/2.214, allocations: 136.1 kB / 0.5519 GB, free: 9.793 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/2.214, allocations: 84.17 kB / 0.552 GB, free: 9.727 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004115/2.215, allocations: 0.6078 MB / 0.5526 GB, free: 9.113 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/2.215, allocations: 64.47 kB / 0.5527 GB, free: 9.051 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/2.215, allocations: 234.6 kB / 0.5529 GB, free: 8.773 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003987/2.216, allocations: 251.7 kB / 0.5531 GB, free: 8.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/2.216, allocations: 0 / 0.5531 GB, free: 8.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007021/2.216, allocations: 373.6 kB / 0.5535 GB, free: 8.137 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/2.216, allocations: 13.94 kB / 0.5535 GB, free: 8.125 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/2.216, allocations: 0 / 0.5535 GB, free: 8.125 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/2.218, allocations: 215.8 kB / 0.5537 GB, free: 7.914 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.629e-05/2.218, allocations: 17.56 kB / 0.5537 GB, free: 7.898 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009675/2.219, allocations: 0.9606 MB / 0.5547 GB, free: 6.914 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/2.219, allocations: 31.73 kB / 0.5547 GB, free: 6.883 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/2.219, allocations: 11.98 kB / 0.5547 GB, free: 6.871 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (Bend.C2.b,Bend.C1.a,SinkP1.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 (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 0.0002168/2.22, allocations: 191.7 kB / 0.5549 GB, free: 6.676 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/2.22, allocations: 71.61 kB / 0.5549 GB, free: 6.605 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/2.221, allocations: 0.8014 MB / 0.5557 GB, free: 5.711 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000389/2.221, allocations: 214.8 kB / 0.5559 GB, free: 5.496 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/2.221, allocations: 1.25 kB / 0.5559 GB, free: 5.496 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/2.221, allocations: 7.984 kB / 0.5559 GB, free: 5.488 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/2.223, allocations: 1.016 MB / 0.5569 GB, free: 4.441 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/2.223, allocations: 0 / 0.5569 GB, free: 4.441 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.192e-05/2.223, allocations: 16 kB / 0.5569 GB, free: 4.426 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009053/2.224, allocations: 159.5 kB / 0.5571 GB, free: 4.266 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/2.224, allocations: 4 kB / 0.5571 GB, free: 4.262 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009757/2.225, allocations: 0.9358 MB / 0.558 GB, free: 3.297 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/2.225, allocations: 4.844 kB / 0.558 GB, free: 3.293 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006128/2.225, allocations: 451.6 kB / 0.5585 GB, free: 2.828 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/2.226, allocations: 87.53 kB / 0.5585 GB, free: 2.742 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.155e-05/2.226, allocations: 15.89 kB / 0.5586 GB, free: 2.727 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/2.226, allocations: 8 kB / 0.5586 GB, free: 2.719 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/2.226, allocations: 11.97 kB / 0.5586 GB, free: 2.707 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/2.226, allocations: 8.547 kB / 0.5586 GB, free: 2.699 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007877/2.227, allocations: 0.5536 MB / 0.5591 GB, free: 2.148 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/2.227, allocations: 0 / 0.5591 GB, free: 2.148 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004537/2.231, allocations: 1.282 MB / 0.5604 GB, free: 0.8633 MB / 474.7 MB 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.006489/2.238, allocations: 1.967 MB / 0.5623 GB, free: 15.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007973/2.239, allocations: 256.1 kB / 0.5625 GB, free: 14.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/2.239, allocations: 8.062 kB / 0.5625 GB, free: 14.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003404/2.239, allocations: 119.9 kB / 0.5627 GB, free: 14.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009774/2.24, allocations: 144.4 kB / 0.5628 GB, free: 14.63 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/2.242, allocations: 0.982 MB / 0.5638 GB, free: 13.62 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/2.242, allocations: 328.1 kB / 0.5641 GB, free: 13.28 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001352/2.242, allocations: 40.88 kB / 0.5641 GB, free: 13.24 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.555e-05/2.242, allocations: 32.48 kB / 0.5641 GB, free: 13.21 MB / 490.7 MB Notification: Performance of SimCode: time 9.42e-07/2.242, allocations: 0 / 0.5641 GB, free: 13.21 MB / 490.7 MB Notification: Performance of Templates: time 0.07414/2.316, allocations: 45.96 MB / 0.609 GB, free: 15.52 MB / 0.5261 GB " [Timeout remaining time 658] 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: 8.257495783967897]