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.8742/0.8742, allocations: 150.9 MB / 167.1 MB, free: 14.37 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003503, allocations: 23.97 kB / 206 MB, free: 9 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1333, allocations: 31.33 MB / 237.3 MB, free: 5.746 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.587/1.72, allocations: 296.1 MB / 0.5209 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02724/1.747, allocations: 22.95 MB / 0.5433 GB, free: 4.832 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003265/1.748, allocations: 8.656 kB / 0.5433 GB, free: 4.824 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.0004654/1.748, allocations: 172.3 kB / 0.5435 GB, free: 4.656 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004499/1.748, allocations: 266.6 kB / 0.5437 GB, free: 4.398 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.01741/1.766, allocations: 7.22 MB / 0.5508 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001198/1.767, allocations: 0.9777 MB / 0.5517 GB, free: 12.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000363/1.767, allocations: 285.1 kB / 0.552 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003826/1.768, allocations: 386.6 kB / 0.5524 GB, free: 11.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003466/1.768, allocations: 330.5 kB / 0.5527 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.249e-05/1.768, allocations: 52 kB / 0.5527 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02339/1.792, allocations: 15.38 MB / 0.5677 GB, free: 11.8 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/1.792, allocations: 131.5 kB / 0.5679 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000433/1.792, allocations: 362.2 kB / 0.5682 GB, free: 11.32 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01363/1.806, allocations: 6.931 MB / 0.575 GB, free: 4.375 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.806, allocations: 0 / 0.575 GB, free: 4.375 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/1.806, allocations: 4 kB / 0.575 GB, free: 4.371 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/1.806, allocations: 4 kB / 0.575 GB, free: 4.367 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.004348/1.81, allocations: 1.536 MB / 0.5765 GB, free: 2.781 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/1.81, allocations: 8.031 kB / 0.5765 GB, free: 2.773 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/1.811, allocations: 68.09 kB / 0.5766 GB, free: 2.707 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/1.811, allocations: 341.8 kB / 0.5769 GB, free: 2.336 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/1.811, allocations: 130 kB / 0.577 GB, free: 2.191 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.186e-05/1.811, allocations: 47.94 kB / 0.5771 GB, free: 2.145 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/1.812, allocations: 0.7796 MB / 0.5778 GB, free: 1.316 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/1.812, allocations: 0 / 0.5778 GB, free: 1.316 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.128e-05/1.813, allocations: 27.98 kB / 0.5779 GB, free: 1.289 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.174e-05/1.813, allocations: 39.02 kB / 0.5779 GB, free: 1.254 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/1.814, allocations: 0.5747 MB / 0.5785 GB, free: 0.6797 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.07306/1.887, allocations: 36.63 MB / 0.6142 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/1.888, allocations: 0.5452 MB / 0.6148 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005913/1.889, allocations: 362.7 kB / 0.6151 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07214/1.961, allocations: 33.82 MB / 0.6481 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/1.961, allocations: 38.56 kB / 0.6482 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=126): time 2.936e-06/1.961, allocations: 0 / 0.6482 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of matching and sorting (n=126): time 0.01712/1.978, allocations: 3.289 MB / 0.6514 GB, free: 14.92 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/1.978, allocations: 55.41 kB / 0.6514 GB, free: 14.86 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004071/1.978, allocations: 328.5 kB / 0.6517 GB, free: 14.53 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/1.979, allocations: 33.7 kB / 0.6518 GB, free: 14.49 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/1.979, allocations: 225.2 kB / 0.652 GB, free: 14.26 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002953/1.979, allocations: 409.7 kB / 0.6524 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/1.979, allocations: 130 kB / 0.6525 GB, free: 13.72 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.979, allocations: 378.8 kB / 0.6529 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005766/1.98, allocations: 277.6 kB / 0.6531 GB, free: 13.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006297/1.981, allocations: 393.2 kB / 0.6535 GB, free: 12.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/1.982, allocations: 0.7225 MB / 0.6542 GB, free: 11.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.982, allocations: 3.938 kB / 0.6542 GB, free: 11.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004161/1.986, allocations: 1.279 MB / 0.6555 GB, free: 10.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/1.986, allocations: 8 kB / 0.6555 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/1.986, allocations: 0 / 0.6555 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003697/1.99, allocations: 1.385 MB / 0.6568 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/1.99, allocations: 19.94 kB / 0.6568 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/1.992, allocations: 1.389 MB / 0.6582 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000433/1.993, allocations: 94.95 kB / 0.6583 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.503e-05/1.993, allocations: 19.98 kB / 0.6583 GB, free: 7.676 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.0002361/1.993, allocations: 170.5 kB / 0.6585 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.466e-05/1.993, allocations: 59.16 kB / 0.6585 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004141/1.997, allocations: 3.962 MB / 0.6624 GB, free: 3.344 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002723/2, allocations: 1.298 MB / 0.6637 GB, free: 2.035 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/2, allocations: 0 / 0.6637 GB, free: 2.035 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/2, allocations: 3.984 kB / 0.6637 GB, free: 2.031 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0066/2.007, allocations: 2.889 MB / 0.6665 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/2.007, allocations: 3.938 kB / 0.6665 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/2.007, allocations: 91.91 kB / 0.6666 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002256/2.009, allocations: 0.8638 MB / 0.6674 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.862e-05/2.009, allocations: 20 kB / 0.6674 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/2.011, allocations: 1.475 MB / 0.6689 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/2.011, allocations: 0 / 0.6689 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004679/2.016, allocations: 1.507 MB / 0.6704 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/2.016, allocations: 159.9 kB / 0.6705 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/2.016, allocations: 27.84 kB / 0.6705 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/2.017, allocations: 32.17 kB / 0.6706 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/2.017, allocations: 56.86 kB / 0.6706 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.414e-05/2.017, allocations: 27.98 kB / 0.6707 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004343/2.017, allocations: 387.1 kB / 0.671 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/2.017, allocations: 4 kB / 0.671 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002468/2.02, allocations: 1.046 MB / 0.672 GB, free: 9.324 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.003522/2.023, allocations: 1.186 MB / 0.6732 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00213/2.025, allocations: 1.158 MB / 0.6743 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/2.025, allocations: 0.5 kB / 0.6743 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/2.026, allocations: 0.5194 MB / 0.6748 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/2.028, allocations: 431.8 kB / 0.6753 GB, free: 6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/2.031, allocations: 1.553 MB / 0.6768 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005104/2.031, allocations: 0.9909 MB / 0.6777 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002431/2.032, allocations: 68.81 kB / 0.6778 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.368e-05/2.032, allocations: 39.44 kB / 0.6778 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of SimCode: time 1.993e-06/2.032, allocations: 0 / 0.6778 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of Templates: time 0.21/2.242, allocations: 49.24 MB / 0.7259 GB, free: 217.2 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 cvode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1)