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.4799/0.4799, allocations: 111.6 MB / 132.2 MB, free: 4.957 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 1.493e-06/1.493e-06, allocations: 0 / 177.3 MB, free: 8.965 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296e-05/1.445e-05, allocations: 5.047 kB / 177.3 MB, free: 8.961 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.02/1.02, allocations: 257.2 MB / 434.5 MB, free: 128 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02696/1.047, allocations: 33.03 MB / 467.5 MB, free: 14.97 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/1.047, allocations: 4 kB / 467.5 MB, free: 14.96 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.000447/1.047, allocations: 270.9 kB / 467.8 MB, free: 14.7 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002383/1.047, allocations: 286.7 kB / 468.1 MB, free: 14.42 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.01722/1.065, allocations: 10.04 MB / 478.1 MB, free: 4.336 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004798/1.065, allocations: 0.5064 MB / 478.6 MB, free: 3.828 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/1.065, allocations: 184.7 kB / 478.8 MB, free: 3.645 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002968/1.066, allocations: 323.2 kB / 479.1 MB, free: 3.328 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/1.066, allocations: 287.4 kB / 479.4 MB, free: 3.047 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/1.066, allocations: 24 kB / 479.4 MB, free: 3.023 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2011/1.267, allocations: 16.91 MB / 496.3 MB, free: 8.5 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001517/1.267, allocations: 179.3 kB / 496.5 MB, free: 8.5 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/1.267, allocations: 152.3 kB / 496.7 MB, free: 8.5 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0112/1.279, allocations: 11.04 MB / 0.4958 GB, free: 4.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.279, allocations: 0 / 0.4958 GB, free: 4.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.183e-06/1.279, allocations: 4.219 kB / 0.4958 GB, free: 4.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.331e-06/1.279, allocations: 0 / 0.4958 GB, free: 4.16 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002296/1.281, allocations: 1.917 MB / 0.4977 GB, free: 2.797 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/1.281, allocations: 12.73 kB / 0.4977 GB, free: 2.793 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/1.281, allocations: 99.2 kB / 0.4978 GB, free: 2.742 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/1.281, allocations: 345.7 kB / 0.4981 GB, free: 2.469 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/1.281, allocations: 18.53 kB / 0.4981 GB, free: 2.461 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/1.281, allocations: 25.92 kB / 0.4982 GB, free: 2.453 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/1.281, allocations: 357.3 kB / 0.4985 GB, free: 2.156 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/1.281, allocations: 1.344 kB / 0.4985 GB, free: 2.156 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/1.281, allocations: 11.88 kB / 0.4985 GB, free: 2.148 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/1.282, allocations: 16.48 kB / 0.4985 GB, free: 2.141 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.339e-05/1.282, allocations: 101.5 kB / 0.4986 GB, free: 2.117 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.01525/1.297, allocations: 10.02 MB / 0.5084 GB, free: 11.03 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/1.297, allocations: 100.4 kB / 0.5085 GB, free: 10.92 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.3e-05/1.297, allocations: 40.55 kB / 0.5085 GB, free: 10.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06617/1.363, allocations: 37.91 MB / 0.5456 GB, free: 5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/1.363, allocations: 37.33 kB / 0.5456 GB, free: 4.953 MB / 474.7 MB Notification: Performance of pre-optimization done (n=38): time 2.194e-06/1.363, allocations: 0 / 0.5456 GB, free: 4.953 MB / 474.7 MB Notification: Performance of matching and sorting (n=38): time 0.0009322/1.364, allocations: 386.9 kB / 0.546 GB, free: 4.574 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/1.364, allocations: 110.8 kB / 0.5461 GB, free: 4.441 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004985/1.365, allocations: 0.6698 MB / 0.5467 GB, free: 3.832 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/1.365, allocations: 25.7 kB / 0.5468 GB, free: 3.801 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/1.365, allocations: 379.1 kB / 0.5471 GB, free: 3.449 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.915e-05/1.365, allocations: 133 kB / 0.5472 GB, free: 3.328 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.28e-05/1.365, allocations: 77.06 kB / 0.5473 GB, free: 3.254 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/1.365, allocations: 0.5703 MB / 0.5479 GB, free: 2.703 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.609e-05/1.365, allocations: 36.47 kB / 0.5479 GB, free: 2.668 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/1.365, allocations: 193.4 kB / 0.5481 GB, free: 2.438 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/1.366, allocations: 187.5 kB / 0.5483 GB, free: 2.234 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.366, allocations: 0 / 0.5483 GB, free: 2.234 MB / 474.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003152/1.366, allocations: 308.1 kB / 0.5486 GB, free: 1.941 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/1.366, allocations: 11.94 kB / 0.5486 GB, free: 1.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.366, allocations: 0.9375 kB / 0.5486 GB, free: 1.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006973/1.367, allocations: 173.9 kB / 0.5487 GB, free: 1.762 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.044e-05/1.367, allocations: 24.25 kB / 0.5488 GB, free: 1.742 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004005/1.367, allocations: 0.8853 MB / 0.5496 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/1.367, allocations: 35.73 kB / 0.5497 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/1.367, allocations: 4 kB / 0.5497 GB, free: 0.7969 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 (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 0.0001111/1.367, allocations: 181 kB / 0.5498 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-05/1.367, allocations: 59.58 kB / 0.5499 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004966/1.368, allocations: 0.6943 MB / 0.5506 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001358/1.368, allocations: 169.7 kB / 0.5507 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/1.368, allocations: 0 / 0.5507 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.368, allocations: 0.5625 kB / 0.5507 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006269/1.369, allocations: 0.739 MB / 0.5515 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.369, allocations: 5.188 kB / 0.5515 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/1.369, allocations: 15.75 kB / 0.5515 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003776/1.369, allocations: 140.6 kB / 0.5516 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/1.369, allocations: 8.016 kB / 0.5516 GB, free: 14.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004829/1.37, allocations: 0.8853 MB / 0.5525 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.37, allocations: 0 / 0.5525 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/1.37, allocations: 402.2 kB / 0.5529 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.899e-05/1.37, allocations: 79.53 kB / 0.5529 GB, free: 13.42 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/1.37, allocations: 16.58 kB / 0.553 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.377e-05/1.37, allocations: 0 / 0.553 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/1.37, allocations: 24 kB / 0.553 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/1.37, allocations: 0 / 0.553 GB, free: 13.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002789/1.37, allocations: 459.8 kB / 0.5534 GB, free: 12.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/1.37, allocations: 0 / 0.5534 GB, free: 12.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002157/1.373, allocations: 1.286 MB / 0.5547 GB, free: 11.68 MB / 490.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.003138/1.376, allocations: 2.044 MB / 0.5567 GB, free: 9.867 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003315/1.376, allocations: 216 kB / 0.5569 GB, free: 9.656 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.376, allocations: 0 / 0.5569 GB, free: 9.656 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/1.376, allocations: 100 kB / 0.557 GB, free: 9.562 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/1.377, allocations: 147.4 kB / 0.5571 GB, free: 9.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/1.378, allocations: 0.9657 MB / 0.5581 GB, free: 8.441 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.609e-05/1.378, allocations: 165.2 kB / 0.5582 GB, free: 8.262 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.856e-05/1.378, allocations: 41.69 kB / 0.5583 GB, free: 8.223 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/1.378, allocations: 166.1 kB / 0.5584 GB, free: 8.059 MB / 490.7 MB Notification: Performance of SimCode: time 7.21e-07/1.378, allocations: 0 / 0.5584 GB, free: 8.059 MB / 490.7 MB Notification: Performance of Templates: time 0.04714/1.425, allocations: 53.12 MB / 0.6103 GB, free: 3.262 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: 5.5979384342208505]