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.8241/0.8241, allocations: 150.9 MB / 167.1 MB, free: 14.5 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.0003191, allocations: 19.97 kB / 206 MB, free: 9.062 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.126, allocations: 31.32 MB / 237.3 MB, free: 5.719 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.551/1.677, allocations: 296.1 MB / 0.5209 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02587/1.703, allocations: 22.96 MB / 0.5433 GB, free: 4.871 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003119/1.703, allocations: 4 kB / 0.5433 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.0004223/1.703, allocations: 181.7 kB / 0.5435 GB, free: 4.691 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004368/1.704, allocations: 257.1 kB / 0.5437 GB, free: 4.441 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.01708/1.721, allocations: 7.231 MB / 0.5508 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001211/1.722, allocations: 0.9788 MB / 0.5517 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003465/1.722, allocations: 278.8 kB / 0.552 GB, free: 11.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003653/1.723, allocations: 382.6 kB / 0.5524 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003379/1.723, allocations: 330.5 kB / 0.5527 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.289e-05/1.723, allocations: 48 kB / 0.5527 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02254/1.746, allocations: 15.39 MB / 0.5678 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001594/1.746, allocations: 127.5 kB / 0.5679 GB, free: 11.72 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000405/1.746, allocations: 362.2 kB / 0.5682 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01075/1.757, allocations: 6.934 MB / 0.575 GB, free: 4.414 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/1.757, allocations: 0 / 0.575 GB, free: 4.414 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.793e-06/1.757, allocations: 0 / 0.575 GB, free: 4.414 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/1.757, allocations: 0 / 0.575 GB, free: 4.414 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.003811/1.761, allocations: 1.541 MB / 0.5765 GB, free: 2.824 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/1.761, allocations: 8.031 kB / 0.5765 GB, free: 2.816 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/1.761, allocations: 68.09 kB / 0.5766 GB, free: 2.75 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/1.762, allocations: 345.8 kB / 0.5769 GB, free: 2.375 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/1.762, allocations: 122.1 kB / 0.577 GB, free: 2.238 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.387e-05/1.762, allocations: 48 kB / 0.5771 GB, free: 2.191 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/1.763, allocations: 0.7835 MB / 0.5778 GB, free: 1.359 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/1.763, allocations: 0 / 0.5778 GB, free: 1.359 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/1.763, allocations: 20 kB / 0.5778 GB, free: 1.34 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/1.763, allocations: 39.97 kB / 0.5779 GB, free: 1.301 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/1.764, allocations: 0.5786 MB / 0.5784 GB, free: 0.7227 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.07048/1.835, allocations: 36.64 MB / 0.6142 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/1.836, allocations: 0.5423 MB / 0.6148 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005787/1.837, allocations: 354.8 kB / 0.6151 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07019/1.907, allocations: 33.82 MB / 0.6481 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/1.907, allocations: 30.56 kB / 0.6482 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=126): time 2.876e-06/1.907, allocations: 0 / 0.6482 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of matching and sorting (n=126): time 0.01667/1.923, allocations: 3.289 MB / 0.6514 GB, free: 14.97 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/1.924, allocations: 59.34 kB / 0.6514 GB, free: 14.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003879/1.924, allocations: 336.4 kB / 0.6518 GB, free: 14.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/1.924, allocations: 29.7 kB / 0.6518 GB, free: 14.53 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/1.924, allocations: 233.2 kB / 0.652 GB, free: 14.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000264/1.924, allocations: 405.8 kB / 0.6524 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/1.925, allocations: 138 kB / 0.6525 GB, free: 13.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.925, allocations: 370.8 kB / 0.6529 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005684/1.925, allocations: 273.6 kB / 0.6531 GB, free: 13.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000633/1.926, allocations: 389.2 kB / 0.6535 GB, free: 12.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/1.927, allocations: 0.7264 MB / 0.6542 GB, free: 11.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.927, allocations: 4 kB / 0.6542 GB, free: 11.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004268/1.931, allocations: 1.279 MB / 0.6555 GB, free: 10.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.931, allocations: 4 kB / 0.6555 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.931, allocations: 11.98 kB / 0.6555 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003727/1.935, allocations: 1.376 MB / 0.6568 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/1.935, allocations: 27.92 kB / 0.6569 GB, free: 9.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/1.938, allocations: 1.382 MB / 0.6582 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000453/1.938, allocations: 86.95 kB / 0.6583 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-05/1.938, allocations: 23.98 kB / 0.6583 GB, free: 7.723 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.000232/1.938, allocations: 177.8 kB / 0.6585 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/1.939, allocations: 59.16 kB / 0.6585 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003915/1.942, allocations: 3.943 MB / 0.6624 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002664/1.945, allocations: 1.302 MB / 0.6637 GB, free: 2.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/1.945, allocations: 8 kB / 0.6637 GB, free: 2.082 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/1.945, allocations: 3.984 kB / 0.6637 GB, free: 2.078 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006635/1.952, allocations: 2.891 MB / 0.6665 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.952, allocations: 0 / 0.6665 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/1.952, allocations: 99.78 kB / 0.6666 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002224/1.954, allocations: 0.8596 MB / 0.6674 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/1.954, allocations: 19.98 kB / 0.6674 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/1.956, allocations: 1.475 MB / 0.6689 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.957, allocations: 0 / 0.6689 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004735/1.961, allocations: 1.515 MB / 0.6704 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/1.961, allocations: 159.9 kB / 0.6705 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/1.962, allocations: 27.84 kB / 0.6705 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003983/1.962, allocations: 23.92 kB / 0.6706 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/1.962, allocations: 56.91 kB / 0.6706 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/1.962, allocations: 24 kB / 0.6706 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004236/1.963, allocations: 387.1 kB / 0.671 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/1.963, allocations: 4 kB / 0.671 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002487/1.965, allocations: 1.05 MB / 0.672 GB, free: 9.363 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.003506/1.969, allocations: 1.187 MB / 0.6732 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002089/1.971, allocations: 1.151 MB / 0.6743 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.971, allocations: 0 / 0.6743 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/1.972, allocations: 0.5272 MB / 0.6748 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/1.974, allocations: 443.4 kB / 0.6753 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/1.976, allocations: 1.545 MB / 0.6768 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/1.977, allocations: 0.9909 MB / 0.6777 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002159/1.977, allocations: 68.81 kB / 0.6778 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.989e-05/1.977, allocations: 43.44 kB / 0.6778 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of SimCode: time 7.82e-07/1.977, allocations: 0 / 0.6778 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of Templates: time 0.1944/2.171, allocations: 49.25 MB / 0.7259 GB, free: 217.3 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 -s gbode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1)