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 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.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8047/0.8047, allocations: 150.9 MB / 166.4 MB, free: 14.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004847/0.0004851, allocations: 19.98 kB / 204.5 MB, free: 9.758 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1755, allocations: 31.32 MB / 235.9 MB, free: 5.406 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.TestStaticWaterWaterExchanger): time 1.527/1.703, allocations: 296.3 MB / 0.5197 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0266/1.729, allocations: 22.96 MB / 0.5421 GB, free: 4.941 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003149/1.73, allocations: 4 kB / 0.5421 GB, free: 4.938 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:81:3-83:42: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/StaticWaterWaterExchanger.mo:84:3-86:38: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/StaticWaterWaterExchanger.mo:87:3-89: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/StaticWaterWaterExchanger.mo:90:3-92:37: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 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45: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). Notification: Performance of NFTyping.typeComponents: time 0.0004428/1.73, allocations: 171.6 kB / 0.5423 GB, free: 4.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004402/1.731, allocations: 265 kB / 0.5425 GB, free: 4.512 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.01624/1.747, allocations: 7.233 MB / 0.5496 GB, free: 13.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00112/1.748, allocations: 0.9692 MB / 0.5505 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003258/1.748, allocations: 284.9 kB / 0.5508 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003606/1.749, allocations: 382.6 kB / 0.5512 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003249/1.749, allocations: 326.5 kB / 0.5515 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.498e-05/1.749, allocations: 51.98 kB / 0.5515 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02198/1.771, allocations: 15.16 MB / 0.5663 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001702/1.771, allocations: 131.2 kB / 0.5665 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004123/1.772, allocations: 358.2 kB / 0.5668 GB, free: 11.67 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01126/1.783, allocations: 6.927 MB / 0.5736 GB, free: 4.727 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.783, allocations: 0 / 0.5736 GB, free: 4.727 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.162e-06/1.783, allocations: 4 kB / 0.5736 GB, free: 4.723 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.318e-06/1.783, allocations: 0 / 0.5736 GB, free: 4.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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.003666/1.787, allocations: 1.539 MB / 0.5751 GB, free: 3.137 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/1.787, allocations: 12.03 kB / 0.5751 GB, free: 3.125 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/1.787, allocations: 68.09 kB / 0.5752 GB, free: 3.059 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/1.787, allocations: 345.8 kB / 0.5755 GB, free: 2.684 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/1.787, allocations: 126.1 kB / 0.5756 GB, free: 2.543 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.755e-05/1.788, allocations: 44 kB / 0.5757 GB, free: 2.5 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/1.789, allocations: 0.7835 MB / 0.5764 GB, free: 1.668 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/1.789, allocations: 3.938 kB / 0.5764 GB, free: 1.664 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/1.789, allocations: 16 kB / 0.5764 GB, free: 1.648 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-05/1.789, allocations: 47.95 kB / 0.5765 GB, free: 1.602 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/1.79, allocations: 0.567 MB / 0.577 GB, free: 1.035 MB / 462.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.07371/1.864, allocations: 36.44 MB / 0.6126 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/1.865, allocations: 0.5426 MB / 0.6132 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005936/1.866, allocations: 350.7 kB / 0.6135 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07352/1.939, allocations: 33.59 MB / 0.6463 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/1.939, allocations: 30.56 kB / 0.6463 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=126): time 3.076e-06/1.939, allocations: 0 / 0.6463 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of matching and sorting (n=126): time 0.01727/1.956, allocations: 3.293 MB / 0.6495 GB, free: 15.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/1.957, allocations: 55.41 kB / 0.6496 GB, free: 15.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003621/1.957, allocations: 336.4 kB / 0.6499 GB, free: 15.33 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/1.957, allocations: 29.7 kB / 0.6499 GB, free: 15.29 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/1.957, allocations: 233.2 kB / 0.6502 GB, free: 15.06 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000263/1.957, allocations: 405.7 kB / 0.6505 GB, free: 14.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/1.958, allocations: 134 kB / 0.6507 GB, free: 14.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.958, allocations: 370.8 kB / 0.651 GB, free: 14.15 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005741/1.958, allocations: 277.6 kB / 0.6513 GB, free: 13.88 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006634/1.959, allocations: 393.2 kB / 0.6517 GB, free: 13.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/1.96, allocations: 0.7264 MB / 0.6524 GB, free: 12.71 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.96, allocations: 0 / 0.6524 GB, free: 12.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004242/1.965, allocations: 1.283 MB / 0.6536 GB, free: 11.42 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/1.965, allocations: 11.94 kB / 0.6536 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/1.965, allocations: 4 kB / 0.6536 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003674/1.968, allocations: 1.376 MB / 0.655 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/1.968, allocations: 23.98 kB / 0.655 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/1.971, allocations: 1.389 MB / 0.6564 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004085/1.971, allocations: 83.02 kB / 0.6564 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/1.971, allocations: 27.98 kB / 0.6565 GB, free: 8.477 MB / 0.545 GB 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.0002424/1.971, allocations: 182.4 kB / 0.6566 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.912e-05/1.971, allocations: 55.16 kB / 0.6567 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004069/1.975, allocations: 3.947 MB / 0.6606 GB, free: 4.152 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002724/1.978, allocations: 1.306 MB / 0.6618 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.978, allocations: 0 / 0.6618 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/1.978, allocations: 3.984 kB / 0.6618 GB, free: 2.832 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006612/1.985, allocations: 2.947 MB / 0.6647 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.985, allocations: 0 / 0.6647 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/1.985, allocations: 99.83 kB / 0.6648 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002294/1.987, allocations: 0.8596 MB / 0.6656 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.512e-05/1.987, allocations: 16 kB / 0.6657 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/1.99, allocations: 1.475 MB / 0.6671 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.99, allocations: 0 / 0.6671 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004694/1.994, allocations: 1.514 MB / 0.6686 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/1.994, allocations: 159.9 kB / 0.6687 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/1.995, allocations: 27.84 kB / 0.6688 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/1.995, allocations: 23.92 kB / 0.6688 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/1.995, allocations: 52.92 kB / 0.6688 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.226e-05/1.995, allocations: 27.98 kB / 0.6689 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004228/1.996, allocations: 387.1 kB / 0.6692 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/1.996, allocations: 0 / 0.6692 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002378/1.998, allocations: 1.05 MB / 0.6703 GB, free: 10.07 MB / 0.5606 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 (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.004034/2.002, allocations: 1.193 MB / 0.6714 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002604/2.005, allocations: 1.186 MB / 0.6726 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/2.005, allocations: 0 / 0.6726 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/2.006, allocations: 0.5233 MB / 0.6731 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/2.008, allocations: 437.9 kB / 0.6735 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/2.01, allocations: 1.575 MB / 0.675 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005164/2.011, allocations: 0.9947 MB / 0.676 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002788/2.011, allocations: 60.83 kB / 0.6761 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.719e-05/2.011, allocations: 43.44 kB / 0.6761 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/2.011, allocations: 4 kB / 0.6761 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of Templates: time 0.1993/2.21, allocations: 49.38 MB / 0.7243 GB, free: 217.6 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.makefile (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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1)