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.8355/0.8355, allocations: 150.9 MB / 166.7 MB, free: 14.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003344/0.0003346, allocations: 15.98 kB / 204.8 MB, free: 10.08 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1899, allocations: 31.33 MB / 236.1 MB, free: 5.441 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.676/1.866, allocations: 295.2 MB / 0.5188 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02772/1.894, allocations: 23.4 MB / 0.5417 GB, free: 4.891 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003838/1.895, allocations: 4 kB / 0.5417 GB, free: 4.887 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.0004952/1.895, allocations: 142.5 kB / 0.5418 GB, free: 4.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004496/1.896, allocations: 223.7 kB / 0.5421 GB, free: 4.531 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.01783/1.913, allocations: 6.333 MB / 0.5482 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001282/1.915, allocations: 0.9686 MB / 0.5492 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000375/1.915, allocations: 294.3 kB / 0.5495 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004435/1.916, allocations: 386.4 kB / 0.5498 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003771/1.916, allocations: 326.5 kB / 0.5501 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.344e-05/1.916, allocations: 52 kB / 0.5502 GB, free: 12.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02391/1.94, allocations: 15.24 MB / 0.5651 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002287/1.94, allocations: 131.5 kB / 0.5652 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005372/1.941, allocations: 358.7 kB / 0.5655 GB, free: 12.49 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009604/1.95, allocations: 4.57 MB / 0.57 GB, free: 7.91 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/1.95, allocations: 0 / 0.57 GB, free: 7.91 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.332e-06/1.95, allocations: 0 / 0.57 GB, free: 7.91 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/1.95, allocations: 4 kB / 0.57 GB, free: 7.906 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.005259/1.956, allocations: 1.544 MB / 0.5715 GB, free: 6.312 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/1.956, allocations: 12.02 kB / 0.5715 GB, free: 6.301 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/1.956, allocations: 68.09 kB / 0.5716 GB, free: 6.234 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/1.956, allocations: 345.8 kB / 0.5719 GB, free: 5.859 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/1.956, allocations: 126 kB / 0.572 GB, free: 5.719 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.322e-05/1.957, allocations: 49.73 kB / 0.5721 GB, free: 5.672 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/1.958, allocations: 0.7835 MB / 0.5729 GB, free: 4.844 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/1.958, allocations: 4 kB / 0.5729 GB, free: 4.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.161e-05/1.958, allocations: 20 kB / 0.5729 GB, free: 4.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.501e-05/1.958, allocations: 39.95 kB / 0.5729 GB, free: 4.781 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/1.959, allocations: 0.5786 MB / 0.5735 GB, free: 4.203 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.06816/2.027, allocations: 36.42 MB / 0.609 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/2.028, allocations: 0.5397 MB / 0.6096 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005552/2.029, allocations: 354.7 kB / 0.6099 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06839/2.097, allocations: 33.59 MB / 0.6427 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/2.097, allocations: 34.56 kB / 0.6427 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=126): time 2.365e-06/2.097, allocations: 0 / 0.6427 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of matching and sorting (n=126): time 0.01755/2.115, allocations: 3.293 MB / 0.646 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/2.115, allocations: 55.41 kB / 0.646 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/2.115, allocations: 336.4 kB / 0.6463 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/2.115, allocations: 33.7 kB / 0.6464 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/2.116, allocations: 229.3 kB / 0.6466 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004344/2.116, allocations: 405.7 kB / 0.647 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/2.116, allocations: 134 kB / 0.6471 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002059/2.116, allocations: 366.8 kB / 0.6474 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005341/2.117, allocations: 277.6 kB / 0.6477 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006935/2.118, allocations: 393.1 kB / 0.6481 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/2.119, allocations: 0.7225 MB / 0.6488 GB, free: 15.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/2.119, allocations: 4 kB / 0.6488 GB, free: 15.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004363/2.123, allocations: 1.287 MB / 0.6501 GB, free: 14.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/2.123, allocations: 9.562 kB / 0.6501 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/2.123, allocations: 4 kB / 0.6501 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003619/2.127, allocations: 1.373 MB / 0.6514 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/2.127, allocations: 31.92 kB / 0.6514 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/2.129, allocations: 1.386 MB / 0.6528 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004267/2.13, allocations: 87.02 kB / 0.6529 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/2.13, allocations: 23.98 kB / 0.6529 GB, free: 11.66 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.000233/2.13, allocations: 182.2 kB / 0.6531 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.383e-05/2.13, allocations: 63.09 kB / 0.6531 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004302/2.134, allocations: 3.958 MB / 0.657 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002718/2.137, allocations: 1.294 MB / 0.6583 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/2.137, allocations: 4 kB / 0.6583 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/2.137, allocations: 3.984 kB / 0.6583 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006799/2.144, allocations: 2.927 MB / 0.6611 GB, free: 3.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/2.144, allocations: 3.984 kB / 0.6611 GB, free: 3.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/2.144, allocations: 91.91 kB / 0.6612 GB, free: 2.926 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002214/2.147, allocations: 0.866 MB / 0.6621 GB, free: 2.059 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/2.147, allocations: 12 kB / 0.6621 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/2.149, allocations: 1.479 MB / 0.6635 GB, free: 0.543 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/2.149, allocations: 0 / 0.6635 GB, free: 0.543 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004766/2.153, allocations: 1.511 MB / 0.665 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/2.154, allocations: 163.9 kB / 0.6652 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/2.154, allocations: 31.78 kB / 0.6652 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003944/2.154, allocations: 31.83 kB / 0.6652 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/2.154, allocations: 56.86 kB / 0.6653 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-05/2.154, allocations: 31.98 kB / 0.6653 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004033/2.155, allocations: 383.1 kB / 0.6657 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/2.155, allocations: 0 / 0.6657 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002638/2.157, allocations: 1.046 MB / 0.6667 GB, free: 13.25 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.003688/2.161, allocations: 1.201 MB / 0.6679 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002575/2.164, allocations: 1.182 MB / 0.669 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/2.164, allocations: 0 / 0.669 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/2.165, allocations: 0.5279 MB / 0.6695 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/2.167, allocations: 441.8 kB / 0.6699 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/2.169, allocations: 1.938 MB / 0.6718 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006031/2.17, allocations: 0.9986 MB / 0.6728 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.519e-05/2.17, allocations: 43.44 kB / 0.6729 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/2.17, allocations: 0 / 0.6729 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of Templates: time 0.1824/2.352, allocations: 28.54 MB / 0.7007 GB, free: 225.9 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)