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.5468/0.5468, allocations: 111.6 MB / 131.5 MB, free: 4.387 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.232e-06/1.232e-06, allocations: 0 / 176.6 MB, free: 8.844 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.435e-05/1.558e-05, allocations: 4.844 kB / 176.6 MB, free: 8.84 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.075/1.075, allocations: 264.3 MB / 441 MB, free: 13.6 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02007/1.096, allocations: 22.37 MB / 463.4 MB, free: 7.152 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002841/1.096, allocations: 4 kB / 463.4 MB, free: 7.148 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.0003919/1.096, allocations: 170.7 kB / 463.5 MB, free: 6.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004357/1.097, allocations: 341.6 kB / 463.9 MB, free: 6.645 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.0119/1.109, allocations: 7.332 MB / 471.2 MB, free: 15.29 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007365/1.109, allocations: 1.015 MB / 472.2 MB, free: 14.27 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002441/1.11, allocations: 258 kB / 472.5 MB, free: 14.01 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004066/1.11, allocations: 0.569 MB / 473 MB, free: 13.44 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/1.11, allocations: 243.3 kB / 473.3 MB, free: 13.2 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.856e-05/1.11, allocations: 52 kB / 473.3 MB, free: 13.15 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.195/1.305, allocations: 14.47 MB / 487.8 MB, free: 14.09 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/1.305, allocations: 132 kB / 487.9 MB, free: 14.09 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003807/1.306, allocations: 240.2 kB / 488.1 MB, free: 14.09 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01312/1.319, allocations: 8.792 MB / 496.9 MB, free: 14.01 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.319, allocations: 3.391 kB / 496.9 MB, free: 14.01 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.553e-06/1.319, allocations: 3.156 kB / 496.9 MB, free: 14.01 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/1.319, allocations: 0 / 496.9 MB, free: 14.01 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.004826/1.324, allocations: 1.459 MB / 498.4 MB, free: 13.26 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/1.324, allocations: 13.58 kB / 498.4 MB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/1.324, allocations: 89.92 kB / 498.5 MB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/1.324, allocations: 234.4 kB / 498.7 MB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/1.324, allocations: 202.7 kB / 498.9 MB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.831e-05/1.324, allocations: 47.5 kB / 499 MB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005171/1.325, allocations: 0.5377 MB / 499.5 MB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/1.325, allocations: 1.656 kB / 499.5 MB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/1.325, allocations: 24.69 kB / 499.5 MB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/1.325, allocations: 35.09 kB / 499.6 MB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002664/1.325, allocations: 224.6 kB / 499.8 MB, free: 12.71 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.02609/1.351, allocations: 18.43 MB / 0.5061 GB, free: 6.383 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/1.352, allocations: 305.2 kB / 0.5064 GB, free: 6.117 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.213e-05/1.352, allocations: 109 kB / 0.5065 GB, free: 6.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03072/1.383, allocations: 18.89 MB / 0.5249 GB, free: 3.355 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/1.383, allocations: 38.55 kB / 0.525 GB, free: 3.309 MB / 442.7 MB Notification: Performance of pre-optimization done (n=126): time 2.284e-06/1.383, allocations: 2.078 kB / 0.525 GB, free: 3.309 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.006108/1.389, allocations: 2.247 MB / 0.5271 GB, free: 1.082 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/1.389, allocations: 55.41 kB / 0.5272 GB, free: 1.016 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/1.389, allocations: 248.7 kB / 0.5274 GB, free: 0.793 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/1.389, allocations: 29.7 kB / 0.5275 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.324e-05/1.389, allocations: 227.4 kB / 0.5277 GB, free: 0.543 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/1.389, allocations: 426.4 kB / 0.5281 GB, free: 152 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/1.389, allocations: 122.8 kB / 0.5282 GB, free: 48 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.703e-05/1.389, allocations: 371.1 kB / 0.5286 GB, free: 15.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003755/1.39, allocations: 100.6 kB / 0.5287 GB, free: 15.61 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/1.39, allocations: 204.2 kB / 0.5289 GB, free: 15.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003101/1.39, allocations: 380.1 kB / 0.5292 GB, free: 15.03 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.39, allocations: 4 kB / 0.5292 GB, free: 15.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.001249/1.391, allocations: 0.6977 MB / 0.5299 GB, free: 14.36 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/1.391, allocations: 8.25 kB / 0.5299 GB, free: 14.35 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/1.391, allocations: 4 kB / 0.5299 GB, free: 14.35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001497/1.393, allocations: 1.212 MB / 0.5311 GB, free: 13.15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.125e-05/1.393, allocations: 22.98 kB / 0.5311 GB, free: 13.13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006825/1.394, allocations: 0.9311 MB / 0.532 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/1.394, allocations: 85.58 kB / 0.5321 GB, free: 12.13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/1.394, allocations: 11.98 kB / 0.5321 GB, free: 12.12 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 (plateHeatExchanger.Ec.a,plateHeatExchanger.Ef.a,plateHeatExchanger.Sf.b,plateHeatExchanger.Sc.b,sourceP2.C.b,sourceP3.C.b,puitsP2.C.a,puitsP3.C.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.0001303/1.394, allocations: 132.8 kB / 0.5322 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/1.394, allocations: 35.91 kB / 0.5323 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/1.396, allocations: 3.357 MB / 0.5356 GB, free: 9.508 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006614/1.397, allocations: 0.6373 MB / 0.5362 GB, free: 8.879 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/1.397, allocations: 0.8125 kB / 0.5362 GB, free: 8.879 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/1.397, allocations: 3.984 kB / 0.5362 GB, free: 8.875 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/1.399, allocations: 1.759 MB / 0.5379 GB, free: 7.223 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/1.399, allocations: 0 / 0.5379 GB, free: 7.223 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/1.399, allocations: 95.33 kB / 0.538 GB, free: 7.133 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008297/1.4, allocations: 0.6762 MB / 0.5387 GB, free: 6.48 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/1.4, allocations: 16.94 kB / 0.5387 GB, free: 6.465 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006108/1.401, allocations: 0.9529 MB / 0.5396 GB, free: 5.512 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.401, allocations: 4 kB / 0.5396 GB, free: 5.508 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/1.402, allocations: 0.9373 MB / 0.5405 GB, free: 4.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/1.402, allocations: 76.81 kB / 0.5406 GB, free: 4.516 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.039e-05/1.402, allocations: 35.78 kB / 0.5406 GB, free: 4.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/1.402, allocations: 24.55 kB / 0.5407 GB, free: 4.457 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/1.402, allocations: 56.88 kB / 0.5407 GB, free: 4.398 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/1.403, allocations: 16 kB / 0.5407 GB, free: 4.383 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001044/1.403, allocations: 158.9 kB / 0.5409 GB, free: 4.246 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/1.403, allocations: 4 kB / 0.5409 GB, free: 4.242 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002769/1.405, allocations: 1.076 MB / 0.5419 GB, free: 3.168 MB / 458.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.002567/1.408, allocations: 1.415 MB / 0.5433 GB, free: 1.887 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006686/1.409, allocations: 0.7267 MB / 0.544 GB, free: 1.141 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.409, allocations: 8 kB / 0.544 GB, free: 1.133 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005337/1.409, allocations: 309.5 kB / 0.5443 GB, free: 0.8594 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008744/1.41, allocations: 418.9 kB / 0.5447 GB, free: 488 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/1.412, allocations: 1.413 MB / 0.5461 GB, free: 15.06 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/1.412, allocations: 192.3 kB / 0.5463 GB, free: 14.86 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001593/1.412, allocations: 57.39 kB / 0.5463 GB, free: 14.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/1.412, allocations: 249.1 kB / 0.5466 GB, free: 14.55 MB / 474.7 MB Notification: Performance of SimCode: time 8.02e-07/1.412, allocations: 0 / 0.5466 GB, free: 14.55 MB / 474.7 MB Notification: Performance of Templates: time 0.04959/1.462, allocations: 53.42 MB / 0.5987 GB, free: 9.637 MB / 0.5105 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.19681295286864]