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.8304/0.8304, allocations: 150.9 MB / 166.5 MB, free: 14.4 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.0003079, allocations: 16.72 kB / 237.1 MB, free: 1.766 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0566/0.05692, allocations: 31.35 MB / 268.5 MB, free: 7.039 MB / 222.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.605/1.662, allocations: 296.3 MB / 0.5515 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02841/1.691, allocations: 22.96 MB / 0.5739 GB, free: 4.168 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003696/1.691, allocations: 4 kB / 0.5739 GB, free: 4.164 MB / 462.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.000441/1.692, allocations: 175.7 kB / 0.5741 GB, free: 3.992 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004301/1.692, allocations: 265.8 kB / 0.5743 GB, free: 3.73 MB / 462.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.01739/1.709, allocations: 7.237 MB / 0.5814 GB, free: 12.49 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001409/1.711, allocations: 0.9725 MB / 0.5824 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004602/1.711, allocations: 280.8 kB / 0.5826 GB, free: 11.24 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005552/1.712, allocations: 386.5 kB / 0.583 GB, free: 10.86 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004522/1.712, allocations: 334.5 kB / 0.5833 GB, free: 10.53 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/1.712, allocations: 52 kB / 0.5834 GB, free: 10.48 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02528/1.738, allocations: 15.37 MB / 0.5984 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001922/1.738, allocations: 131.5 kB / 0.5985 GB, free: 10.96 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004248/1.738, allocations: 366.2 kB / 0.5988 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01189/1.75, allocations: 6.923 MB / 0.6056 GB, free: 3.668 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/1.75, allocations: 0 / 0.6056 GB, free: 3.668 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.285e-06/1.75, allocations: 3.938 kB / 0.6056 GB, free: 3.664 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.374e-05/1.75, allocations: 4 kB / 0.6056 GB, free: 3.66 MB / 494.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.004759/1.755, allocations: 1.538 MB / 0.6071 GB, free: 2.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/1.755, allocations: 12.03 kB / 0.6071 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/1.755, allocations: 72 kB / 0.6072 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/1.756, allocations: 346.7 kB / 0.6075 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001878/1.756, allocations: 126.1 kB / 0.6077 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/1.756, allocations: 44 kB / 0.6077 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/1.757, allocations: 0.7796 MB / 0.6085 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/1.757, allocations: 3.938 kB / 0.6085 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.835e-05/1.757, allocations: 20 kB / 0.6085 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.681e-05/1.757, allocations: 39.97 kB / 0.6085 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/1.759, allocations: 0.5747 MB / 0.6091 GB, free: 15.96 MB / 0.4981 GB 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.07828/1.837, allocations: 36.64 MB / 0.6449 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/1.838, allocations: 0.5347 MB / 0.6454 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006617/1.839, allocations: 358.8 kB / 0.6457 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07909/1.918, allocations: 33.81 MB / 0.6787 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/1.918, allocations: 46.5 kB / 0.6788 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=126): time 2.355e-06/1.918, allocations: 3.938 kB / 0.6788 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=126): time 0.01797/1.936, allocations: 3.304 MB / 0.682 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/1.936, allocations: 55.41 kB / 0.6821 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/1.937, allocations: 332.4 kB / 0.6824 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/1.937, allocations: 33.7 kB / 0.6824 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/1.937, allocations: 221.3 kB / 0.6826 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000297/1.937, allocations: 409.7 kB / 0.683 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/1.937, allocations: 134.1 kB / 0.6831 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.937, allocations: 370.8 kB / 0.6835 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006002/1.938, allocations: 285.6 kB / 0.6838 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006914/1.939, allocations: 389.1 kB / 0.6841 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/1.94, allocations: 0.7186 MB / 0.6848 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.94, allocations: 0 / 0.6848 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004434/1.945, allocations: 1.279 MB / 0.6861 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/1.945, allocations: 11.94 kB / 0.6861 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/1.945, allocations: 0 / 0.6861 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003858/1.948, allocations: 1.387 MB / 0.6875 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/1.949, allocations: 23.92 kB / 0.6875 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/1.951, allocations: 1.386 MB / 0.6888 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004348/1.951, allocations: 98.86 kB / 0.6889 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/1.951, allocations: 19.98 kB / 0.6889 GB, free: 6.934 MB / 0.5762 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.0002436/1.952, allocations: 174 kB / 0.6891 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/1.952, allocations: 55.25 kB / 0.6892 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004287/1.956, allocations: 3.95 MB / 0.693 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002852/1.959, allocations: 1.298 MB / 0.6943 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.959, allocations: 0 / 0.6943 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/1.959, allocations: 3.984 kB / 0.6943 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00675/1.966, allocations: 2.883 MB / 0.6971 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/1.966, allocations: 0 / 0.6971 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/1.966, allocations: 95.84 kB / 0.6972 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002345/1.968, allocations: 0.8595 MB / 0.698 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.367e-05/1.968, allocations: 23.98 kB / 0.6981 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002192/1.971, allocations: 1.487 MB / 0.6995 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.971, allocations: 4 kB / 0.6995 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004787/1.975, allocations: 1.5 MB / 0.701 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/1.976, allocations: 159.9 kB / 0.7011 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/1.976, allocations: 31.69 kB / 0.7012 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004122/1.976, allocations: 35.92 kB / 0.7012 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/1.976, allocations: 56.91 kB / 0.7013 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/1.976, allocations: 20 kB / 0.7013 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004483/1.977, allocations: 387.1 kB / 0.7016 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/1.977, allocations: 0 / 0.7016 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002595/1.979, allocations: 1.046 MB / 0.7027 GB, free: 8.59 MB / 0.5919 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.004495/1.984, allocations: 1.202 MB / 0.7038 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00221/1.986, allocations: 1.151 MB / 0.705 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.986, allocations: 4 kB / 0.705 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/1.987, allocations: 0.5238 MB / 0.7055 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/1.989, allocations: 434.6 kB / 0.7059 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/1.992, allocations: 1.543 MB / 0.7074 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005174/1.993, allocations: 0.9909 MB / 0.7084 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002431/1.993, allocations: 72.81 kB / 0.7084 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.598e-05/1.993, allocations: 39.44 kB / 0.7085 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/1.993, allocations: 0 / 0.7085 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of Templates: time 0.2293/2.222, allocations: 49.55 MB / 0.7569 GB, free: 191.3 MB / 0.5919 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)