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.4788/0.4788, allocations: 111.6 MB / 131.4 MB, free: 4.965 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.844e-06/1.844e-06, allocations: 0 / 176.5 MB, free: 8.98 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.889e-05/2.073e-05, allocations: 2.312 kB / 176.5 MB, free: 8.977 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.082/1.082, allocations: 257.2 MB / 433.7 MB, free: 15.4 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02477/1.107, allocations: 33.03 MB / 466.8 MB, free: 14.24 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/1.107, allocations: 4 kB / 466.8 MB, free: 14.23 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.0004188/1.107, allocations: 274.9 kB / 467 MB, free: 13.96 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002342/1.107, allocations: 286.7 kB / 467.3 MB, free: 13.68 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.0156/1.123, allocations: 10.04 MB / 477.3 MB, free: 3.609 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004948/1.123, allocations: 0.5141 MB / 477.9 MB, free: 3.094 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/1.124, allocations: 176.8 kB / 478 MB, free: 2.918 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003374/1.124, allocations: 331.1 kB / 478.4 MB, free: 2.594 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/1.124, allocations: 279.4 kB / 478.6 MB, free: 2.32 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/1.124, allocations: 24 kB / 478.7 MB, free: 2.297 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01688/1.141, allocations: 16.92 MB / 495.6 MB, free: 1.352 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/1.141, allocations: 179.4 kB / 495.7 MB, free: 1.176 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/1.141, allocations: 151.6 kB / 495.9 MB, free: 1.027 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1768/1.318, allocations: 11.04 MB / 0.4951 GB, free: 18.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.318, allocations: 0 / 0.4951 GB, free: 18.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.383e-06/1.318, allocations: 3 kB / 0.4951 GB, free: 18.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.129e-05/1.318, allocations: 1.344 kB / 0.4951 GB, free: 18.27 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.004197/1.322, allocations: 1.914 MB / 0.4969 GB, free: 17.13 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/1.322, allocations: 13.36 kB / 0.4969 GB, free: 17.12 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/1.322, allocations: 100.2 kB / 0.497 GB, free: 17.08 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/1.323, allocations: 340.2 kB / 0.4974 GB, free: 16.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/1.323, allocations: 21.84 kB / 0.4974 GB, free: 16.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/1.323, allocations: 28.5 kB / 0.4974 GB, free: 16.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/1.323, allocations: 360.8 kB / 0.4978 GB, free: 16.63 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/1.323, allocations: 1.906 kB / 0.4978 GB, free: 16.63 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/1.323, allocations: 9.156 kB / 0.4978 GB, free: 16.63 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/1.323, allocations: 14.45 kB / 0.4978 GB, free: 16.63 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/1.323, allocations: 98.12 kB / 0.4979 GB, free: 16.63 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.01415/1.337, allocations: 10.05 MB / 0.5077 GB, free: 15 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/1.338, allocations: 100.5 kB / 0.5078 GB, free: 14.97 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.517e-05/1.338, allocations: 46.06 kB / 0.5078 GB, free: 14.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0581/1.396, allocations: 38.17 MB / 0.5451 GB, free: 2.168 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/1.396, allocations: 39.31 kB / 0.5451 GB, free: 2.121 MB / 458.7 MB Notification: Performance of pre-optimization done (n=38): time 1.623e-06/1.396, allocations: 0 / 0.5451 GB, free: 2.121 MB / 458.7 MB Notification: Performance of matching and sorting (n=38): time 0.0009608/1.397, allocations: 398 kB / 0.5455 GB, free: 1.742 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/1.397, allocations: 106.8 kB / 0.5456 GB, free: 1.613 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005246/1.397, allocations: 0.6747 MB / 0.5463 GB, free: 1.051 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/1.397, allocations: 26.36 kB / 0.5463 GB, free: 1.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/1.397, allocations: 375.1 kB / 0.5467 GB, free: 0.7656 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.791e-05/1.397, allocations: 148 kB / 0.5468 GB, free: 0.6445 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.611e-05/1.398, allocations: 74.95 kB / 0.5469 GB, free: 0.582 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/1.398, allocations: 0.5674 MB / 0.5474 GB, free: 48 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.976e-05/1.398, allocations: 32.48 kB / 0.5475 GB, free: 16 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/1.398, allocations: 197.2 kB / 0.5476 GB, free: 15.79 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/1.398, allocations: 188.7 kB / 0.5478 GB, free: 15.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.398, allocations: 0 / 0.5478 GB, free: 15.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003065/1.398, allocations: 314.8 kB / 0.5481 GB, free: 15.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/1.398, allocations: 4 kB / 0.5481 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/1.398, allocations: 4 kB / 0.5481 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006452/1.399, allocations: 175.8 kB / 0.5483 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.802e-05/1.399, allocations: 28.23 kB / 0.5483 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005009/1.4, allocations: 0.8905 MB / 0.5492 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/1.4, allocations: 31.17 kB / 0.5492 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/1.4, allocations: 11.98 kB / 0.5492 GB, free: 14.19 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.0001025/1.4, allocations: 164.6 kB / 0.5494 GB, free: 14.03 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/1.4, allocations: 68.27 kB / 0.5495 GB, free: 13.96 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004769/1.4, allocations: 0.7152 MB / 0.5502 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001358/1.4, allocations: 166.5 kB / 0.5503 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/1.4, allocations: 0 / 0.5503 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/1.4, allocations: 3.984 kB / 0.5503 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006285/1.401, allocations: 0.7461 MB / 0.5511 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/1.401, allocations: 5 kB / 0.5511 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.203e-05/1.401, allocations: 21.67 kB / 0.5511 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003575/1.401, allocations: 135.5 kB / 0.5512 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/1.401, allocations: 4.188 kB / 0.5512 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003348/1.402, allocations: 0.8934 MB / 0.5521 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.402, allocations: 0.875 kB / 0.5521 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/1.402, allocations: 403.1 kB / 0.5525 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.083e-05/1.402, allocations: 81.09 kB / 0.5525 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/1.402, allocations: 19.38 kB / 0.5526 GB, free: 11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-05/1.402, allocations: 2.125 kB / 0.5526 GB, free: 11 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/1.402, allocations: 11.98 kB / 0.5526 GB, free: 10.99 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/1.402, allocations: 10.23 kB / 0.5526 GB, free: 10.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002782/1.403, allocations: 465 kB / 0.553 GB, free: 10.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/1.403, allocations: 1.75 kB / 0.553 GB, free: 10.59 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00263/1.405, allocations: 1.279 MB / 0.5543 GB, free: 9.391 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.00346/1.409, allocations: 2.045 MB / 0.5563 GB, free: 7.617 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003213/1.409, allocations: 214.3 kB / 0.5565 GB, free: 7.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.409, allocations: 0 / 0.5565 GB, free: 7.41 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/1.409, allocations: 91.83 kB / 0.5566 GB, free: 7.324 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/1.409, allocations: 145.7 kB / 0.5567 GB, free: 7.188 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/1.411, allocations: 0.9644 MB / 0.5576 GB, free: 6.199 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.246e-05/1.411, allocations: 173.2 kB / 0.5578 GB, free: 6.012 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 9.001e-05/1.411, allocations: 36.62 kB / 0.5578 GB, free: 5.977 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/1.411, allocations: 172.2 kB / 0.558 GB, free: 5.809 MB / 474.7 MB Notification: Performance of SimCode: time 5.41e-07/1.411, allocations: 0 / 0.558 GB, free: 5.809 MB / 474.7 MB Notification: Performance of Templates: time 0.04687/1.458, allocations: 53 MB / 0.6098 GB, free: 1.047 MB / 0.5105 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: 4.998389327898622]