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.7921/0.7921, allocations: 150.8 MB / 166.6 MB, free: 11.16 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002373/0.0002373, allocations: 15.97 kB / 204.7 MB, free: 6.152 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1339, allocations: 31.32 MB / 236 MB, free: 3.883 MB / 186.7 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.717/1.85, allocations: 293.3 MB / 0.5169 GB, free: 8.727 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03177/1.882, allocations: 27.06 MB / 0.5433 GB, free: 13.84 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003181/1.883, allocations: 4 kB / 0.5433 GB, free: 13.84 MB / 442.7 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.0005187/1.883, allocations: 171.1 kB / 0.5435 GB, free: 13.67 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003944/1.884, allocations: 202.5 kB / 0.5436 GB, free: 13.47 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01502/1.899, allocations: 5.458 MB / 0.549 GB, free: 8.016 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008854/1.899, allocations: 0.767 MB / 0.5497 GB, free: 7.246 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000296/1.9, allocations: 234.6 kB / 0.5499 GB, free: 7.012 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003538/1.9, allocations: 294.6 kB / 0.5502 GB, free: 6.723 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/1.9, allocations: 246.7 kB / 0.5505 GB, free: 6.48 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.403e-05/1.9, allocations: 28 kB / 0.5505 GB, free: 6.453 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02447/1.925, allocations: 16.94 MB / 0.567 GB, free: 5.488 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001517/1.925, allocations: 83.56 kB / 0.5671 GB, free: 5.406 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004043/1.926, allocations: 290.5 kB / 0.5674 GB, free: 5.121 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01507/1.941, allocations: 7.196 MB / 0.5744 GB, free: 13.91 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/1.941, allocations: 0 / 0.5744 GB, free: 13.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.572e-06/1.941, allocations: 0 / 0.5744 GB, free: 13.91 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.202e-05/1.941, allocations: 0 / 0.5744 GB, free: 13.91 MB / 474.7 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.003616/1.944, allocations: 1.445 MB / 0.5758 GB, free: 12.42 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/1.944, allocations: 12.03 kB / 0.5758 GB, free: 12.41 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/1.944, allocations: 60.19 kB / 0.5759 GB, free: 12.35 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/1.945, allocations: 303.3 kB / 0.5762 GB, free: 12.01 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/1.945, allocations: 59.27 kB / 0.5762 GB, free: 11.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.391e-05/1.945, allocations: 40.12 kB / 0.5763 GB, free: 11.91 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008265/1.946, allocations: 0.636 MB / 0.5769 GB, free: 11.23 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/1.946, allocations: 0 / 0.5769 GB, free: 11.23 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/1.946, allocations: 16 kB / 0.5769 GB, free: 11.22 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.889e-05/1.946, allocations: 35.95 kB / 0.577 GB, free: 11.18 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000668/1.947, allocations: 438.9 kB / 0.5774 GB, free: 10.76 MB / 474.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.03903/1.986, allocations: 19.43 MB / 0.5964 GB, free: 5.367 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006101/1.986, allocations: 351.8 kB / 0.5967 GB, free: 5.016 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000389/1.987, allocations: 274.7 kB / 0.5969 GB, free: 4.742 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09161/2.078, allocations: 41.27 MB / 0.6373 GB, free: 7.422 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/2.078, allocations: 30.56 kB / 0.6373 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=103): time 2.915e-06/2.078, allocations: 0 / 0.6373 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of matching and sorting (n=103): time 0.004403/2.083, allocations: 1.449 MB / 0.6387 GB, free: 5.906 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/2.083, allocations: 51.41 kB / 0.6387 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/2.083, allocations: 345.5 kB / 0.6391 GB, free: 5.496 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/2.083, allocations: 33.64 kB / 0.6391 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/2.083, allocations: 205.2 kB / 0.6393 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/2.083, allocations: 326.9 kB / 0.6396 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/2.084, allocations: 101.7 kB / 0.6397 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001175/2.084, allocations: 362.8 kB / 0.6401 GB, free: 4.461 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/2.084, allocations: 196.9 kB / 0.6402 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/2.084, allocations: 290.5 kB / 0.6405 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007395/2.085, allocations: 0.5472 MB / 0.6411 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/2.085, allocations: 0 / 0.6411 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001205/2.086, allocations: 0.7732 MB / 0.6418 GB, free: 2.594 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/2.086, allocations: 4 kB / 0.6418 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/2.086, allocations: 4 kB / 0.6418 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002008/2.088, allocations: 0.711 MB / 0.6425 GB, free: 1.875 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.969e-05/2.089, allocations: 15.98 kB / 0.6425 GB, free: 1.859 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/2.09, allocations: 1.054 MB / 0.6436 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/2.09, allocations: 67.25 kB / 0.6436 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/2.09, allocations: 19.98 kB / 0.6436 GB, free: 0.6953 MB / 0.5261 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.0001851/2.091, allocations: 174.7 kB / 0.6438 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.343e-05/2.091, allocations: 51.25 kB / 0.6439 GB, free: 476 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/2.093, allocations: 2.063 MB / 0.6459 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001368/2.094, allocations: 0.9989 MB / 0.6468 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/2.094, allocations: 0 / 0.6468 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/2.094, allocations: 3.984 kB / 0.6469 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00295/2.097, allocations: 2.361 MB / 0.6492 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/2.097, allocations: 0 / 0.6492 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/2.098, allocations: 91.84 kB / 0.6492 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001959/2.1, allocations: 0.7342 MB / 0.65 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/2.1, allocations: 12 kB / 0.65 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001509/2.101, allocations: 1.112 MB / 0.6511 GB, free: 8.914 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/2.101, allocations: 3.938 kB / 0.6511 GB, free: 8.91 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002413/2.104, allocations: 2.161 MB / 0.6532 GB, free: 6.684 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/2.104, allocations: 203.9 kB / 0.6534 GB, free: 6.465 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.941e-05/2.104, allocations: 15.91 kB / 0.6534 GB, free: 6.449 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/2.104, allocations: 23.94 kB / 0.6534 GB, free: 6.426 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.988e-05/2.104, allocations: 48.52 kB / 0.6535 GB, free: 6.379 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/2.104, allocations: 23.98 kB / 0.6535 GB, free: 6.355 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003204/2.105, allocations: 315.2 kB / 0.6538 GB, free: 6.047 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/2.105, allocations: 0 / 0.6538 GB, free: 6.047 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002542/2.107, allocations: 0.9916 MB / 0.6547 GB, free: 5.055 MB / 0.5417 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.003466/2.111, allocations: 1.164 MB / 0.6559 GB, free: 3.887 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001777/2.112, allocations: 0.9931 MB / 0.6568 GB, free: 2.859 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/2.112, allocations: 0 / 0.6568 GB, free: 2.859 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/2.113, allocations: 499.3 kB / 0.6573 GB, free: 2.371 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/2.115, allocations: 371.6 kB / 0.6577 GB, free: 2.016 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/2.118, allocations: 2.319 MB / 0.6599 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/2.118, allocations: 1.002 MB / 0.6609 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002429/2.118, allocations: 72.2 kB / 0.661 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.407e-05/2.119, allocations: 43.44 kB / 0.661 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of SimCode: time 5.11e-07/2.119, allocations: 0 / 0.661 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.2125/2.331, allocations: 43.9 MB / 0.7039 GB, free: 221.2 MB / 0.573 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)