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.8089/0.8089, allocations: 150.9 MB / 166.4 MB, free: 14.4 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003356, allocations: 15.98 kB / 204.5 MB, free: 9.754 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1337, allocations: 31.33 MB / 235.9 MB, free: 5.387 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.535/1.668, allocations: 296 MB / 0.5194 GB, free: 12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02768/1.696, allocations: 23.75 MB / 0.5426 GB, free: 4.391 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/1.696, allocations: 7.938 kB / 0.5426 GB, free: 4.383 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.0005458/1.697, allocations: 224.3 kB / 0.5428 GB, free: 4.164 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003614/1.697, allocations: 223.3 kB / 0.543 GB, free: 3.945 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783: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 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850: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 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088: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.01692/1.714, allocations: 7.619 MB / 0.5505 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008889/1.715, allocations: 0.8021 MB / 0.5513 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003026/1.715, allocations: 244.4 kB / 0.5515 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003489/1.716, allocations: 314.8 kB / 0.5518 GB, free: 11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/1.716, allocations: 262 kB / 0.552 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.063e-05/1.716, allocations: 40 kB / 0.5521 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02448/1.741, allocations: 16.93 MB / 0.5686 GB, free: 9.754 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/1.741, allocations: 95.56 kB / 0.5687 GB, free: 9.66 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003476/1.741, allocations: 306.4 kB / 0.569 GB, free: 9.359 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01233/1.753, allocations: 7.196 MB / 0.576 GB, free: 2.148 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.754, allocations: 0 / 0.576 GB, free: 2.148 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.543e-06/1.754, allocations: 0 / 0.576 GB, free: 2.148 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.698e-05/1.754, allocations: 4 kB / 0.576 GB, free: 2.145 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.003783/1.757, allocations: 1.438 MB / 0.5774 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/1.757, allocations: 12.02 kB / 0.5774 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/1.757, allocations: 69.53 kB / 0.5775 GB, free: 0.582 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/1.758, allocations: 299.9 kB / 0.5778 GB, free: 256 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/1.758, allocations: 63.27 kB / 0.5779 GB, free: 188 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.156e-05/1.758, allocations: 48.11 kB / 0.5779 GB, free: 140 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008728/1.759, allocations: 0.6241 MB / 0.5785 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/1.759, allocations: 3.984 kB / 0.5785 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/1.759, allocations: 20 kB / 0.5785 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.554e-05/1.759, allocations: 35.91 kB / 0.5786 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007166/1.76, allocations: 439 kB / 0.579 GB, free: 14.99 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.03972/1.799, allocations: 19.42 MB / 0.598 GB, free: 9.613 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005888/1.8, allocations: 347.8 kB / 0.5983 GB, free: 9.266 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003831/1.8, allocations: 278.7 kB / 0.5986 GB, free: 8.992 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09165/1.892, allocations: 41.26 MB / 0.6388 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/1.892, allocations: 42.5 kB / 0.6389 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 2.274e-06/1.892, allocations: 0 / 0.6389 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of matching and sorting (n=103): time 0.004423/1.897, allocations: 1.433 MB / 0.6403 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/1.897, allocations: 59.34 kB / 0.6403 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/1.897, allocations: 349.5 kB / 0.6407 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/1.897, allocations: 33.7 kB / 0.6407 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/1.897, allocations: 201.3 kB / 0.6409 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/1.897, allocations: 330.9 kB / 0.6412 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/1.898, allocations: 105.6 kB / 0.6413 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.898, allocations: 362.8 kB / 0.6417 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003455/1.898, allocations: 192.9 kB / 0.6418 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/1.898, allocations: 294.5 kB / 0.6421 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008062/1.899, allocations: 0.5433 MB / 0.6427 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/1.899, allocations: 0 / 0.6427 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001304/1.901, allocations: 0.7616 MB / 0.6434 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.901, allocations: 8 kB / 0.6434 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.901, allocations: 0 / 0.6434 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002111/1.903, allocations: 0.7293 MB / 0.6441 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.352e-05/1.903, allocations: 11.94 kB / 0.6441 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/1.905, allocations: 1.052 MB / 0.6452 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/1.905, allocations: 75.11 kB / 0.6452 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/1.905, allocations: 12.12 kB / 0.6452 GB, free: 4.949 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.0002103/1.905, allocations: 177.7 kB / 0.6454 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.029e-05/1.905, allocations: 51.25 kB / 0.6455 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002375/1.908, allocations: 2.071 MB / 0.6475 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001439/1.909, allocations: 1.003 MB / 0.6485 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.909, allocations: 0 / 0.6485 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/1.909, allocations: 3.984 kB / 0.6485 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0032/1.912, allocations: 2.353 MB / 0.6508 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.912, allocations: 0 / 0.6508 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/1.913, allocations: 87.91 kB / 0.6508 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007494/1.913, allocations: 493.7 kB / 0.6513 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/1.913, allocations: 12 kB / 0.6513 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/1.915, allocations: 1.116 MB / 0.6524 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.915, allocations: 4 kB / 0.6524 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/1.917, allocations: 1.136 MB / 0.6535 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/1.917, allocations: 195.9 kB / 0.6537 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.508e-05/1.917, allocations: 19.94 kB / 0.6537 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/1.917, allocations: 16 kB / 0.6538 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.19e-05/1.917, allocations: 52.58 kB / 0.6538 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/1.917, allocations: 16 kB / 0.6538 GB, free: 11.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003354/1.918, allocations: 323.1 kB / 0.6541 GB, free: 11.62 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/1.918, allocations: 0 / 0.6541 GB, free: 11.62 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002338/1.92, allocations: 0.9682 MB / 0.6551 GB, free: 10.65 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.004065/1.924, allocations: 1.159 MB / 0.6562 GB, free: 9.492 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002429/1.926, allocations: 1.039 MB / 0.6572 GB, free: 8.426 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.926, allocations: 4.062 kB / 0.6572 GB, free: 8.422 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/1.928, allocations: 0.491 MB / 0.6577 GB, free: 7.926 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/1.929, allocations: 398.4 kB / 0.6581 GB, free: 7.562 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/1.931, allocations: 1.388 MB / 0.6594 GB, free: 6.152 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005207/1.932, allocations: 0.9632 MB / 0.6604 GB, free: 5.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002706/1.932, allocations: 68.23 kB / 0.6604 GB, free: 5.094 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.789e-05/1.932, allocations: 43.44 kB / 0.6605 GB, free: 5.051 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/1.932, allocations: 3.938 kB / 0.6605 GB, free: 5.047 MB / 0.545 GB Notification: Performance of Templates: time 0.2036/2.136, allocations: 44.29 MB / 0.7037 GB, free: 225.3 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)