Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.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.TestDynamicWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8144/0.8144, allocations: 150.9 MB / 167.1 MB, free: 14.57 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003243, allocations: 15.97 kB / 205.9 MB, free: 9.078 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1271, allocations: 31.33 MB / 237.3 MB, free: 5.734 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.TestDynamicWaterWaterExchanger): time 1.537/1.664, allocations: 296.2 MB / 0.5209 GB, free: 11.6 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02574/1.69, allocations: 23.08 MB / 0.5435 GB, free: 4.664 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003048/1.69, allocations: 4 kB / 0.5435 GB, free: 4.66 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicWaterWaterExchanger.mo:117:3-118:48: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/DynamicWaterWaterExchanger.mo:119:3-120:48: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/DynamicWaterWaterExchanger.mo:121:3-122:46: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/DynamicWaterWaterExchanger.mo:123:3-124:46: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.0004886/1.691, allocations: 200.5 kB / 0.5437 GB, free: 4.465 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005995/1.691, allocations: 361.6 kB / 0.544 GB, free: 4.113 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.01624/1.708, allocations: 7.284 MB / 0.5511 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002337/1.71, allocations: 2.553 MB / 0.5536 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000677/1.711, allocations: 0.6781 MB / 0.5543 GB, free: 9.621 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008812/1.711, allocations: 0.8766 MB / 0.5551 GB, free: 8.742 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009811/1.712, allocations: 0.8568 MB / 0.556 GB, free: 7.883 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001602/1.713, allocations: 123.9 kB / 0.5561 GB, free: 7.762 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02248/1.735, allocations: 15.45 MB / 0.5712 GB, free: 8.297 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00055/1.736, allocations: 486.7 kB / 0.5717 GB, free: 7.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009289/1.737, allocations: 0.7505 MB / 0.5724 GB, free: 7.066 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01225/1.749, allocations: 7.908 MB / 0.5801 GB, free: 15.14 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.749, allocations: 0 / 0.5801 GB, free: 15.14 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.426e-06/1.749, allocations: 0 / 0.5801 GB, free: 15.14 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.573e-05/1.749, allocations: 3.938 kB / 0.5801 GB, free: 15.14 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.006575/1.756, allocations: 2.297 MB / 0.5824 GB, free: 12.79 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/1.756, allocations: 8.031 kB / 0.5824 GB, free: 12.78 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002464/1.756, allocations: 135.2 kB / 0.5825 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009753/1.757, allocations: 0.5747 MB / 0.5831 GB, free: 12.03 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/1.757, allocations: 102 kB / 0.5831 GB, free: 11.93 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/1.757, allocations: 104 kB / 0.5832 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0029/1.76, allocations: 1.962 MB / 0.5852 GB, free: 9.797 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/1.76, allocations: 3.938 kB / 0.5852 GB, free: 9.793 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/1.76, allocations: 40 kB / 0.5852 GB, free: 9.754 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-05/1.76, allocations: 75.88 kB / 0.5853 GB, free: 9.68 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003172/1.763, allocations: 1.902 MB / 0.5871 GB, free: 7.773 MB / 478.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.07719/1.841, allocations: 39.74 MB / 0.6259 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002631/1.843, allocations: 1.715 MB / 0.6276 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00184/1.845, allocations: 1.197 MB / 0.6288 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07366/1.919, allocations: 33.84 MB / 0.6618 GB, free: 4.086 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/1.919, allocations: 47.88 kB / 0.6619 GB, free: 4.031 MB / 0.545 GB Notification: Performance of pre-optimization done (n=292): time 3.677e-06/1.919, allocations: 0 / 0.6619 GB, free: 4.031 MB / 0.545 GB Notification: Performance of matching and sorting (n=292): time 0.0319/1.951, allocations: 7.314 MB / 0.669 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/1.951, allocations: 64.72 kB / 0.6691 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004138/1.951, allocations: 357.5 kB / 0.6694 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001261/1.951, allocations: 45.7 kB / 0.6695 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/1.952, allocations: 271.8 kB / 0.6697 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006996/1.952, allocations: 0.9543 MB / 0.6707 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000526/1.953, allocations: 339.8 kB / 0.671 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001001/1.953, allocations: 334 kB / 0.6713 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/1.955, allocations: 1.023 MB / 0.6723 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00197/1.957, allocations: 1.212 MB / 0.6735 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004041/1.961, allocations: 2.46 MB / 0.6759 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/1.961, allocations: 0 / 0.6759 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.006563/1.967, allocations: 3.741 MB / 0.6795 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.967, allocations: 11.92 kB / 0.6796 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.967, allocations: 4 kB / 0.6796 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01682/1.984, allocations: 4.824 MB / 0.6843 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/1.984, allocations: 35.92 kB / 0.6843 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008597/1.993, allocations: 4.9 MB / 0.6891 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/1.994, allocations: 185.7 kB / 0.6893 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/1.994, allocations: 63.94 kB / 0.6893 GB, free: 7.578 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 (puitsP1.C.a,puitsP.C.a,sourceP1.C.b,sourceP.C.b,echangeurAPlaques1D.Sc.b,echangeurAPlaques1D.Sf.b,echangeurAPlaques1D.Ef.a,echangeurAPlaques1D.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(22,100)} Notification: Performance of prepare postOptimizeDAE: time 0.0005934/1.995, allocations: 365.6 kB / 0.6897 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002425/1.995, allocations: 106.6 kB / 0.6898 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1535/2.149, allocations: 10.9 MB / 0.7004 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005578/2.154, allocations: 4.019 MB / 0.7044 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/2.154, allocations: 6.75 kB / 0.7044 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.006e-05/2.154, allocations: 14.39 kB / 0.7044 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/2.168, allocations: 7.972 MB / 0.7122 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/2.168, allocations: 2.75 kB / 0.7122 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/2.17, allocations: 354.5 kB / 0.7125 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004162/2.174, allocations: 1.915 MB / 0.7144 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001644/2.174, allocations: 68.59 kB / 0.7144 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006022/2.18, allocations: 6.904 MB / 0.7212 GB, free: 221 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/2.18, allocations: 2.297 kB / 0.7212 GB, free: 221 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/2.191, allocations: 6.198 MB / 0.7272 GB, free: 218.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/2.191, allocations: 268.9 kB / 0.7275 GB, free: 218.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/2.192, allocations: 63.56 kB / 0.7275 GB, free: 218.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/2.193, allocations: 78.25 kB / 0.7276 GB, free: 218.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002736/2.193, allocations: 175 kB / 0.7278 GB, free: 218.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/2.193, allocations: 82.38 kB / 0.7279 GB, free: 218.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003552/2.193, allocations: 391.2 kB / 0.7282 GB, free: 218.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/2.193, allocations: 0 / 0.7282 GB, free: 218.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002564/2.196, allocations: 1.362 MB / 0.7296 GB, free: 218 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (echangeurAPlaques1D.Hmc[1],echangeurAPlaques1D.Hmc[2],echangeurAPlaques1D.Hmc[3],echangeurAPlaques1D.Hmc[4],echangeurAPlaques1D.Hmc[5],echangeurAPlaques1D.Hmf[1],echangeurAPlaques1D.Hmf[2],echangeurAPlaques1D.Hmf[3],echangeurAPlaques1D.Hmf[4],echangeurAPlaques1D.Hmf[5]) * 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 (188): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,35), (5,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003353/2.199, allocations: 1.24 MB / 0.7308 GB, free: 217.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005959/2.205, allocations: 4.032 MB / 0.7347 GB, free: 215.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/2.205, allocations: 0 / 0.7347 GB, free: 215.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003481/2.209, allocations: 2.175 MB / 0.7368 GB, free: 213.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003322/2.212, allocations: 0.8745 MB / 0.7377 GB, free: 213.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007551/2.22, allocations: 5.108 MB / 0.7427 GB, free: 208.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007125/2.22, allocations: 1.542 MB / 0.7442 GB, free: 206.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007522/2.221, allocations: 313.9 kB / 0.7445 GB, free: 206.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/2.221, allocations: 103.4 kB / 0.7446 GB, free: 206.4 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/2.221, allocations: 4 kB / 0.7446 GB, free: 206.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.08252/2.304, allocations: 83.44 MB / 0.8261 GB, free: 124.3 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe 2>&1)