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.7959/0.7959, allocations: 150.9 MB / 166.1 MB, free: 14.59 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002924, allocations: 11.98 kB / 204.2 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1339, allocations: 31.33 MB / 235.5 MB, free: 5.426 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.661, allocations: 295.2 MB / 0.5182 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02703/1.688, allocations: 23.4 MB / 0.5411 GB, free: 4.871 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000381/1.689, allocations: 4.938 kB / 0.5411 GB, free: 4.867 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.0004541/1.689, allocations: 140.2 kB / 0.5412 GB, free: 4.734 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004449/1.69, allocations: 230.3 kB / 0.5415 GB, free: 4.508 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.01635/1.706, allocations: 6.329 MB / 0.5476 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001143/1.707, allocations: 0.9698 MB / 0.5486 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/1.707, allocations: 298.1 kB / 0.5489 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003636/1.708, allocations: 378.5 kB / 0.5492 GB, free: 12.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/1.708, allocations: 338.4 kB / 0.5495 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.116e-05/1.708, allocations: 52 kB / 0.5496 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02142/1.73, allocations: 15.23 MB / 0.5645 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001996/1.73, allocations: 128.9 kB / 0.5646 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004507/1.73, allocations: 362.2 kB / 0.5649 GB, free: 12.47 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01286/1.743, allocations: 6.946 MB / 0.5717 GB, free: 5.508 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.743, allocations: 3.938 kB / 0.5717 GB, free: 5.504 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.372e-06/1.743, allocations: 1.469 kB / 0.5717 GB, free: 5.504 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/1.743, allocations: 0 / 0.5717 GB, free: 5.504 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.003966/1.747, allocations: 1.54 MB / 0.5732 GB, free: 3.914 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/1.747, allocations: 12.03 kB / 0.5732 GB, free: 3.902 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/1.747, allocations: 68.09 kB / 0.5733 GB, free: 3.836 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/1.748, allocations: 349.8 kB / 0.5736 GB, free: 3.457 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/1.748, allocations: 126.1 kB / 0.5738 GB, free: 3.316 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.311e-05/1.748, allocations: 47.94 kB / 0.5738 GB, free: 3.27 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/1.749, allocations: 0.7835 MB / 0.5746 GB, free: 2.441 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/1.749, allocations: 1.406 kB / 0.5746 GB, free: 2.441 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/1.749, allocations: 20 kB / 0.5746 GB, free: 2.422 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.813e-05/1.749, allocations: 35.97 kB / 0.5746 GB, free: 2.387 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/1.75, allocations: 0.5786 MB / 0.5752 GB, free: 1.809 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.06819/1.819, allocations: 36.42 MB / 0.6108 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/1.82, allocations: 0.549 MB / 0.6113 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005655/1.82, allocations: 354.7 kB / 0.6116 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08639/1.907, allocations: 33.59 MB / 0.6444 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/1.907, allocations: 42.56 kB / 0.6445 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=126): time 2.785e-06/1.907, allocations: 0 / 0.6445 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of matching and sorting (n=126): time 0.01753/1.924, allocations: 3.286 MB / 0.6477 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/1.924, allocations: 55.41 kB / 0.6477 GB, free: 448 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/1.925, allocations: 332.4 kB / 0.648 GB, free: 108 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/1.925, allocations: 41.64 kB / 0.6481 GB, free: 60 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/1.925, allocations: 221.3 kB / 0.6483 GB, free: 15.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/1.925, allocations: 409.7 kB / 0.6487 GB, free: 15.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/1.925, allocations: 141.9 kB / 0.6488 GB, free: 15.29 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.926, allocations: 374.8 kB / 0.6492 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005436/1.926, allocations: 277.6 kB / 0.6494 GB, free: 14.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006223/1.927, allocations: 393.2 kB / 0.6498 GB, free: 14.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/1.928, allocations: 0.7186 MB / 0.6505 GB, free: 13.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/1.928, allocations: 0 / 0.6505 GB, free: 13.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004397/1.932, allocations: 1.283 MB / 0.6518 GB, free: 12.19 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/1.932, allocations: 4 kB / 0.6518 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/1.933, allocations: 4 kB / 0.6518 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0036/1.936, allocations: 1.381 MB / 0.6531 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/1.936, allocations: 27.92 kB / 0.6532 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/1.938, allocations: 1.389 MB / 0.6545 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004358/1.939, allocations: 83.02 kB / 0.6546 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/1.939, allocations: 19.98 kB / 0.6546 GB, free: 9.254 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.0002344/1.939, allocations: 184 kB / 0.6548 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.063e-05/1.939, allocations: 59.16 kB / 0.6548 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003761/1.943, allocations: 3.955 MB / 0.6587 GB, free: 4.918 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002661/1.946, allocations: 1.298 MB / 0.66 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.946, allocations: 0 / 0.66 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/1.946, allocations: 3.984 kB / 0.66 GB, free: 3.605 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006648/1.952, allocations: 2.929 MB / 0.6628 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/1.952, allocations: 4 kB / 0.6628 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/1.953, allocations: 91.89 kB / 0.6629 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0022/1.955, allocations: 0.8642 MB / 0.6638 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/1.955, allocations: 19.94 kB / 0.6638 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/1.957, allocations: 1.479 MB / 0.6652 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.957, allocations: 0 / 0.6652 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004595/1.962, allocations: 1.507 MB / 0.6667 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/1.962, allocations: 159.9 kB / 0.6669 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/1.962, allocations: 31.78 kB / 0.6669 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003985/1.962, allocations: 39.83 kB / 0.6669 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/1.962, allocations: 56.8 kB / 0.667 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.195e-05/1.962, allocations: 27.98 kB / 0.667 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004034/1.963, allocations: 387.1 kB / 0.6674 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/1.963, allocations: 0 / 0.6674 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002435/1.965, allocations: 1.042 MB / 0.6684 GB, free: 10.85 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.003696/1.969, allocations: 1.21 MB / 0.6696 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002608/1.972, allocations: 1.166 MB / 0.6707 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.972, allocations: 4.438 kB / 0.6707 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/1.973, allocations: 0.5272 MB / 0.6712 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/1.975, allocations: 430.8 kB / 0.6717 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/1.977, allocations: 1.897 MB / 0.6735 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/1.978, allocations: 0.9947 MB / 0.6745 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002719/1.978, allocations: 68.81 kB / 0.6745 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.492e-05/1.978, allocations: 43.44 kB / 0.6746 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/1.978, allocations: 0 / 0.6746 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of Templates: time 0.2025/2.18, allocations: 49.23 MB / 0.7227 GB, free: 218.4 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)