Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7954/0.7954, allocations: 150.9 MB / 166 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002749/0.0002749, allocations: 11.98 kB / 204 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1476, allocations: 31.32 MB / 235.3 MB, free: 5.477 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff): time 1.518/1.666, allocations: 293.9 MB / 0.5169 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03153/1.698, allocations: 27.06 MB / 0.5433 GB, free: 1.645 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002754/1.698, allocations: 4 kB / 0.5433 GB, free: 1.641 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25:52: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 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47: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 4.0.0-master/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25:52: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 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47: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 4.0.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:69:3-71:37: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 4.0.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:72:3-74:42: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 4.0.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:75:3-77:37: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 4.0.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:78:3-80:36:writable] Warning: Connector Sc 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.0005078/1.698, allocations: 184.2 kB / 0.5435 GB, free: 1.461 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003479/1.699, allocations: 190.5 kB / 0.5437 GB, free: 1.273 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01359/1.712, allocations: 5.465 MB / 0.549 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008015/1.713, allocations: 0.7631 MB / 0.5498 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002786/1.714, allocations: 224.2 kB / 0.55 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003147/1.714, allocations: 290.6 kB / 0.5502 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/1.714, allocations: 242.7 kB / 0.5505 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.261e-05/1.714, allocations: 24 kB / 0.5505 GB, free: 10.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02383/1.738, allocations: 16.96 MB / 0.5671 GB, free: 9.301 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/1.738, allocations: 91.55 kB / 0.5671 GB, free: 9.211 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004136/1.739, allocations: 278.5 kB / 0.5674 GB, free: 8.938 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01272/1.751, allocations: 7.196 MB / 0.5744 GB, free: 1.727 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/1.751, allocations: 0 / 0.5744 GB, free: 1.727 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.042e-06/1.751, allocations: 3.938 kB / 0.5744 GB, free: 1.723 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/1.751, allocations: 0 / 0.5744 GB, free: 1.723 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.003711/1.755, allocations: 1.445 MB / 0.5759 GB, free: 236 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/1.755, allocations: 12.03 kB / 0.5759 GB, free: 224 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.82e-05/1.755, allocations: 60.19 kB / 0.5759 GB, free: 164 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/1.756, allocations: 315.2 kB / 0.5762 GB, free: 15.81 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/1.756, allocations: 59.27 kB / 0.5763 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.929e-05/1.756, allocations: 44.12 kB / 0.5763 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008837/1.757, allocations: 0.6257 MB / 0.5769 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/1.757, allocations: 4 kB / 0.5769 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/1.757, allocations: 16 kB / 0.577 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/1.757, allocations: 31.97 kB / 0.577 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007079/1.758, allocations: 449.5 kB / 0.5774 GB, free: 14.55 MB / 478.1 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.03685/1.794, allocations: 19.42 MB / 0.5964 GB, free: 9.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005665/1.795, allocations: 343.8 kB / 0.5967 GB, free: 8.836 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000393/1.795, allocations: 278.7 kB / 0.597 GB, free: 8.559 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08477/1.88, allocations: 41.26 MB / 0.6373 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/1.88, allocations: 34.56 kB / 0.6373 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 2.615e-06/1.88, allocations: 0 / 0.6373 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=103): time 0.004533/1.885, allocations: 1.451 MB / 0.6387 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/1.885, allocations: 59.41 kB / 0.6388 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/1.885, allocations: 341.5 kB / 0.6391 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/1.885, allocations: 37.58 kB / 0.6391 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/1.885, allocations: 201.2 kB / 0.6393 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/1.886, allocations: 334.9 kB / 0.6396 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/1.886, allocations: 93.67 kB / 0.6397 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.886, allocations: 366.8 kB / 0.6401 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003436/1.886, allocations: 188.9 kB / 0.6403 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/1.887, allocations: 298.5 kB / 0.6405 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008153/1.887, allocations: 0.5511 MB / 0.6411 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.887, allocations: 0 / 0.6411 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001271/1.889, allocations: 0.7654 MB / 0.6418 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.889, allocations: 14.16 kB / 0.6418 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.889, allocations: 0 / 0.6418 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00206/1.891, allocations: 0.7146 MB / 0.6425 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.359e-05/1.891, allocations: 13.39 kB / 0.6426 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/1.893, allocations: 1.05 MB / 0.6436 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/1.893, allocations: 67.19 kB / 0.6436 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/1.893, allocations: 19.98 kB / 0.6437 GB, free: 4.508 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 (exchangerWaterSteamDTorWorEFF.Sc.b,exchangerWaterSteamDTorWorEFF.Sf.b,exchangerWaterSteamDTorWorEFF.Ef.a,exchangerWaterSteamDTorWorEFF.Ec.a,sinkWaterSteam_FC.C.a,sourceWaterSteam_FC.C.b,sinkWaterSteam_FF.C.a,sourceWaterSteam_FF.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(5,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001904/1.893, allocations: 170.2 kB / 0.6438 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.622e-05/1.893, allocations: 55.25 kB / 0.6439 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/1.896, allocations: 2.063 MB / 0.6459 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001424/1.897, allocations: 1.007 MB / 0.6469 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/1.897, allocations: 0 / 0.6469 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/1.897, allocations: 3.984 kB / 0.6469 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/1.9, allocations: 2.353 MB / 0.6492 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/1.9, allocations: 0 / 0.6492 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/1.9, allocations: 91.91 kB / 0.6493 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00191/1.902, allocations: 0.7321 MB / 0.65 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/1.902, allocations: 16 kB / 0.65 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/1.904, allocations: 1.12 MB / 0.6511 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/1.904, allocations: 4 kB / 0.6511 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/1.906, allocations: 1.121 MB / 0.6522 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/1.906, allocations: 196 kB / 0.6524 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-05/1.906, allocations: 27.78 kB / 0.6524 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/1.906, allocations: 23.89 kB / 0.6524 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.486e-05/1.906, allocations: 48.58 kB / 0.6525 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/1.906, allocations: 20 kB / 0.6525 GB, free: 11.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000328/1.907, allocations: 323.1 kB / 0.6528 GB, free: 10.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/1.907, allocations: 0 / 0.6528 GB, free: 10.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002311/1.909, allocations: 0.9682 MB / 0.6537 GB, free: 9.961 MB / 0.545 GB 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 (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(5,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003561/1.912, allocations: 1.158 MB / 0.6549 GB, free: 8.805 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001741/1.914, allocations: 0.9961 MB / 0.6558 GB, free: 7.777 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.914, allocations: 0 / 0.6558 GB, free: 7.777 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/1.915, allocations: 499.3 kB / 0.6563 GB, free: 7.285 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/1.917, allocations: 372.4 kB / 0.6567 GB, free: 6.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/1.919, allocations: 1.689 MB / 0.6583 GB, free: 5.219 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/1.919, allocations: 0.9632 MB / 0.6593 GB, free: 4.223 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002365/1.92, allocations: 68.23 kB / 0.6593 GB, free: 4.156 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.583e-05/1.92, allocations: 43.44 kB / 0.6594 GB, free: 4.113 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/1.92, allocations: 0 / 0.6594 GB, free: 4.113 MB / 0.545 GB Notification: Performance of Templates: time 0.1983/2.118, allocations: 43.3 MB / 0.7017 GB, free: 226.2 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe 2>&1)