Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.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.4886/0.4886, allocations: 111.6 MB / 131.2 MB, free: 4.094 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.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 176.2 MB, free: 8.859 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.12e-05, allocations: 5.156 kB / 176.2 MB, free: 8.855 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.TestStaticWaterWaterExchanger): time 1.062/1.063, allocations: 258.5 MB / 434.8 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02079/1.083, allocations: 22.42 MB / 457.2 MB, free: 8.379 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002886/1.084, allocations: 8 kB / 457.2 MB, free: 8.371 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:54:3-55:80:writable] Warning: Connector Ec 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/HeatExchangers/StaticWaterWaterExchanger.mo:56:3-57:80:writable] Warning: Connector Ef 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/HeatExchangers/StaticWaterWaterExchanger.mo:58:3-59:78:writable] Warning: Connector Sf 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/HeatExchangers/StaticWaterWaterExchanger.mo:60:3-61:77:writable] Warning: Connector Sc 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/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). Notification: Performance of NFTyping.typeComponents: time 0.0004249/1.084, allocations: 174.7 kB / 457.4 MB, free: 8.199 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004153/1.084, allocations: 325.7 kB / 457.7 MB, free: 7.879 MB / 410.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. Notification: Performance of NFTyping.typeClassSections: time 0.01266/1.097, allocations: 7.286 MB / 465 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008509/1.098, allocations: 1.019 MB / 466 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002755/1.098, allocations: 253.4 kB / 466.2 MB, free: 15.29 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004515/1.099, allocations: 0.5689 MB / 466.8 MB, free: 14.72 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/1.099, allocations: 243.3 kB / 467 MB, free: 14.48 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.364e-05/1.099, allocations: 56 kB / 467.1 MB, free: 14.43 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2202/1.319, allocations: 14.46 MB / 481.6 MB, free: 15 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002066/1.319, allocations: 134.7 kB / 481.7 MB, free: 15 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004105/1.32, allocations: 236.7 kB / 481.9 MB, free: 15 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01556/1.335, allocations: 8.8 MB / 490.7 MB, free: 14.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.335, allocations: 1.156 kB / 490.7 MB, free: 14.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.553e-06/1.335, allocations: 1.641 kB / 490.7 MB, free: 14.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.359e-05/1.335, allocations: 0 / 490.7 MB, free: 14.91 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.004452/1.34, allocations: 1.593 MB / 492.3 MB, free: 14.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.34, allocations: 14.64 kB / 492.3 MB, free: 14.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/1.34, allocations: 116 kB / 492.4 MB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/1.34, allocations: 286.9 kB / 492.7 MB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/1.34, allocations: 195.9 kB / 492.9 MB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.717e-05/1.34, allocations: 45.88 kB / 493 MB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006917/1.341, allocations: 0.6147 MB / 493.6 MB, free: 13.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/1.341, allocations: 2.5 kB / 493.6 MB, free: 13.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/1.341, allocations: 22.53 kB / 493.6 MB, free: 13.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-05/1.341, allocations: 39.11 kB / 493.6 MB, free: 13.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004207/1.342, allocations: 302.9 kB / 493.9 MB, free: 13.39 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.03207/1.374, allocations: 22.37 MB / 0.5042 GB, free: 4.742 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/1.374, allocations: 323.9 kB / 0.5045 GB, free: 4.457 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/1.374, allocations: 156.8 kB / 0.5047 GB, free: 4.312 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03437/1.409, allocations: 21.25 MB / 0.5254 GB, free: 15.08 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/1.409, allocations: 37.39 kB / 0.5254 GB, free: 15.03 MB / 458.7 MB Notification: Performance of pre-optimization done (n=126): time 2.244e-06/1.409, allocations: 0 / 0.5254 GB, free: 15.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=126): time 0.00745/1.416, allocations: 2.554 MB / 0.5279 GB, free: 12.49 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/1.416, allocations: 59.34 kB / 0.528 GB, free: 12.42 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/1.417, allocations: 300.2 kB / 0.5283 GB, free: 12.11 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/1.417, allocations: 33.7 kB / 0.5283 GB, free: 12.07 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/1.417, allocations: 288.4 kB / 0.5286 GB, free: 11.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/1.417, allocations: 431.3 kB / 0.529 GB, free: 11.37 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/1.417, allocations: 147.8 kB / 0.5291 GB, free: 11.22 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/1.417, allocations: 0.543 MB / 0.5297 GB, free: 10.66 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/1.417, allocations: 141.2 kB / 0.5298 GB, free: 10.53 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/1.418, allocations: 289 kB / 0.5301 GB, free: 10.21 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004925/1.418, allocations: 488.7 kB / 0.5305 GB, free: 9.699 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.418, allocations: 0 / 0.5305 GB, free: 9.699 MB / 458.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.001771/1.42, allocations: 0.9226 MB / 0.5314 GB, free: 8.789 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/1.42, allocations: 4 kB / 0.5314 GB, free: 8.785 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.42, allocations: 4 kB / 0.5315 GB, free: 8.781 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00178/1.422, allocations: 1.278 MB / 0.5327 GB, free: 7.508 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.826e-05/1.422, allocations: 22.98 kB / 0.5327 GB, free: 7.488 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/1.423, allocations: 1.355 MB / 0.534 GB, free: 6.105 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/1.423, allocations: 79.28 kB / 0.5341 GB, free: 6.027 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/1.423, allocations: 23.98 kB / 0.5341 GB, free: 6.004 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (puitsP3.C.a,puitsP2.C.a,sourceP3.C.b,sourceP2.C.b,plateHeatExchanger.Sc.b,plateHeatExchanger.Sf.b,plateHeatExchanger.Ef.a,plateHeatExchanger.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(6,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0001373/1.423, allocations: 179.6 kB / 0.5343 GB, free: 5.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.758e-05/1.423, allocations: 59.62 kB / 0.5344 GB, free: 5.762 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002902/1.426, allocations: 4.124 MB / 0.5384 GB, free: 1.461 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001031/1.427, allocations: 0.8554 MB / 0.5392 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.427, allocations: 0.6562 kB / 0.5392 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/1.427, allocations: 3.984 kB / 0.5392 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003152/1.43, allocations: 2.224 MB / 0.5414 GB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.43, allocations: 0.75 kB / 0.5414 GB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/1.431, allocations: 93.88 kB / 0.5415 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/1.432, allocations: 0.726 MB / 0.5422 GB, free: 13.58 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/1.432, allocations: 20 kB / 0.5422 GB, free: 13.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009358/1.433, allocations: 1.357 MB / 0.5436 GB, free: 12.17 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.433, allocations: 4.625 kB / 0.5436 GB, free: 12.16 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/1.435, allocations: 1.197 MB / 0.5447 GB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/1.435, allocations: 75.31 kB / 0.5448 GB, free: 10.88 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.296e-05/1.435, allocations: 35.78 kB / 0.5448 GB, free: 10.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/1.435, allocations: 16.98 kB / 0.5449 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.731e-05/1.435, allocations: 61.38 kB / 0.5449 GB, free: 10.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/1.435, allocations: 27.98 kB / 0.5449 GB, free: 10.74 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002134/1.435, allocations: 315 kB / 0.5452 GB, free: 10.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/1.435, allocations: 0 / 0.5452 GB, free: 10.43 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003141/1.438, allocations: 1.072 MB / 0.5463 GB, free: 9.355 MB / 474.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 (62): * Single equations (assignments): 61 * 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 {(6,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003059/1.441, allocations: 1.345 MB / 0.5476 GB, free: 8.148 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009011/1.442, allocations: 0.8516 MB / 0.5484 GB, free: 7.273 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.442, allocations: 0 / 0.5484 GB, free: 7.273 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004156/1.443, allocations: 386.4 kB / 0.5488 GB, free: 6.902 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/1.444, allocations: 434.8 kB / 0.5492 GB, free: 6.508 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/1.445, allocations: 1.421 MB / 0.5506 GB, free: 5.066 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/1.446, allocations: 188.9 kB / 0.5508 GB, free: 4.863 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001759/1.446, allocations: 61.7 kB / 0.5508 GB, free: 4.805 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.774e-05/1.446, allocations: 40.5 kB / 0.5509 GB, free: 4.766 MB / 474.7 MB Notification: Performance of SimCode: time 7.81e-07/1.446, allocations: 0 / 0.5509 GB, free: 4.766 MB / 474.7 MB Notification: Performance of Templates: time 0.05209/1.498, allocations: 55.69 MB / 0.6053 GB, free: 13.6 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.992050276137888]