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.7314/0.7314, allocations: 150.9 MB / 167.2 MB, free: 14.5 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003115/0.0003115, allocations: 15.22 kB / 237.8 MB, free: 1.75 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04563/0.04596, allocations: 31.34 MB / 269.1 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.TestDynamicWaterWaterExchanger): time 1.432/1.478, allocations: 296.4 MB / 0.5522 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02417/1.502, allocations: 23.09 MB / 0.5748 GB, free: 4.434 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002975/1.503, allocations: 4 kB / 0.5748 GB, free: 4.43 MB / 462.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.0004606/1.503, allocations: 194.7 kB / 0.575 GB, free: 4.238 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005555/1.504, allocations: 369.6 kB / 0.5753 GB, free: 3.875 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.01527/1.519, allocations: 7.284 MB / 0.5824 GB, free: 12.59 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00218/1.521, allocations: 2.553 MB / 0.5849 GB, free: 10.02 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000602/1.522, allocations: 0.6766 MB / 0.5856 GB, free: 9.336 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007492/1.522, allocations: 0.8805 MB / 0.5864 GB, free: 8.453 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009549/1.523, allocations: 0.8607 MB / 0.5873 GB, free: 7.59 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001799/1.524, allocations: 120 kB / 0.5874 GB, free: 7.473 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02115/1.545, allocations: 15.44 MB / 0.6025 GB, free: 8.012 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005047/1.545, allocations: 490.6 kB / 0.6029 GB, free: 7.531 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008546/1.546, allocations: 0.7544 MB / 0.6037 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01013/1.556, allocations: 7.901 MB / 0.6114 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/1.556, allocations: 0 / 0.6114 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/1.556, allocations: 0 / 0.6114 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.377e-05/1.556, allocations: 0 / 0.6114 GB, free: 14.86 MB / 0.4981 GB 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.006486/1.563, allocations: 2.307 MB / 0.6136 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/1.563, allocations: 8.031 kB / 0.6137 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/1.563, allocations: 131.2 kB / 0.6138 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006968/1.564, allocations: 0.5693 MB / 0.6143 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-05/1.564, allocations: 97.98 kB / 0.6144 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/1.564, allocations: 111.9 kB / 0.6145 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002636/1.567, allocations: 1.96 MB / 0.6165 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/1.567, allocations: 7.938 kB / 0.6165 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/1.567, allocations: 44 kB / 0.6165 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.533e-05/1.567, allocations: 71.92 kB / 0.6166 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002948/1.57, allocations: 1.91 MB / 0.6184 GB, free: 7.477 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.06993/1.64, allocations: 39.74 MB / 0.6572 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002292/1.642, allocations: 1.705 MB / 0.6589 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/1.644, allocations: 1.201 MB / 0.6601 GB, free: 8.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06548/1.709, allocations: 33.84 MB / 0.6931 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/1.709, allocations: 47.88 kB / 0.6932 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=292): time 3.356e-06/1.709, allocations: 0 / 0.6932 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of matching and sorting (n=292): time 0.02844/1.738, allocations: 7.31 MB / 0.7003 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/1.738, allocations: 64.72 kB / 0.7004 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003501/1.738, allocations: 361.4 kB / 0.7007 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.776e-05/1.738, allocations: 45.7 kB / 0.7008 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/1.739, allocations: 283.7 kB / 0.701 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005863/1.739, allocations: 0.9504 MB / 0.702 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004458/1.74, allocations: 339.9 kB / 0.7023 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001022/1.74, allocations: 333.9 kB / 0.7026 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/1.741, allocations: 1.019 MB / 0.7036 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001744/1.743, allocations: 1.216 MB / 0.7048 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003613/1.747, allocations: 2.452 MB / 0.7072 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/1.747, allocations: 0 / 0.7072 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.00589/1.753, allocations: 3.745 MB / 0.7108 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/1.753, allocations: 7.984 kB / 0.7109 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.753, allocations: 4 kB / 0.7109 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1638/1.916, allocations: 4.819 MB / 0.7156 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/1.917, allocations: 35.27 kB / 0.7156 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006944/1.924, allocations: 4.902 MB / 0.7204 GB, free: 214 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009484/1.925, allocations: 191.6 kB / 0.7206 GB, free: 214 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/1.925, allocations: 58.97 kB / 0.7206 GB, free: 214 MB / 0.5919 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.0004708/1.925, allocations: 363.9 kB / 0.721 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/1.925, allocations: 101.8 kB / 0.7211 GB, free: 213.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008715/1.934, allocations: 10.92 MB / 0.7317 GB, free: 213 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00483/1.939, allocations: 4.016 MB / 0.7356 GB, free: 211.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/1.939, allocations: 3.078 kB / 0.7357 GB, free: 211.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/1.939, allocations: 14.89 kB / 0.7357 GB, free: 211.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/1.951, allocations: 7.974 MB / 0.7435 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/1.951, allocations: 3.938 kB / 0.7435 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/1.952, allocations: 354.9 kB / 0.7438 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003588/1.956, allocations: 1.916 MB / 0.7457 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/1.956, allocations: 71.38 kB / 0.7457 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005161/1.961, allocations: 6.895 MB / 0.7525 GB, free: 201.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.961, allocations: 0 / 0.7525 GB, free: 201.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009413/1.971, allocations: 6.198 MB / 0.7585 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/1.971, allocations: 270.4 kB / 0.7588 GB, free: 195.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/1.971, allocations: 63.75 kB / 0.7588 GB, free: 195.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009483/1.972, allocations: 75.58 kB / 0.7589 GB, free: 195.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/1.972, allocations: 173.8 kB / 0.7591 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/1.972, allocations: 79.95 kB / 0.7592 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003047/1.973, allocations: 401.5 kB / 0.7595 GB, free: 194.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.973, allocations: 0 / 0.7595 GB, free: 194.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002385/1.975, allocations: 1.353 MB / 0.7609 GB, free: 193.2 MB / 0.5919 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.002964/1.978, allocations: 1.246 MB / 0.7621 GB, free: 192.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00532/1.983, allocations: 4.033 MB / 0.766 GB, free: 188 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.983, allocations: 0 / 0.766 GB, free: 188 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002999/1.986, allocations: 2.17 MB / 0.7681 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002901/1.989, allocations: 0.875 MB / 0.769 GB, free: 185.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006586/1.996, allocations: 5.225 MB / 0.7741 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/1.997, allocations: 1.531 MB / 0.7756 GB, free: 178.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/1.997, allocations: 107.4 kB / 0.7757 GB, free: 178.2 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/1.997, allocations: 4 kB / 0.7757 GB, free: 178.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.03889/2.036, allocations: 55.52 MB / 0.8299 GB, free: 123.5 MB / 0.5919 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe 2>&1)