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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.5381/0.5381, allocations: 111.6 MB / 131.5 MB, free: 4.391 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 176.7 MB, free: 8.836 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.317e-05/1.5e-05, allocations: 2.312 kB / 176.7 MB, free: 8.832 MB / 170.7 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger): time 1.093/1.093, allocations: 264.5 MB / 441.1 MB, free: 13.47 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02485/1.118, allocations: 22.46 MB / 463.6 MB, free: 6.934 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000223/1.118, allocations: 8 kB / 463.6 MB, free: 6.926 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/DynamicWaterWaterExchanger.mo:71:3-72:80: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 master/WaterSteam/HeatExchangers/DynamicWaterWaterExchanger.mo:73:3-74:80: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 master/WaterSteam/HeatExchangers/DynamicWaterWaterExchanger.mo:75:3-76:78: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 master/WaterSteam/HeatExchangers/DynamicWaterWaterExchanger.mo:77:3-78:78: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 master/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20:78: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 master/WaterSteam/BoundaryConditions/SinkP.mo:19:3-20:80: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.0004638/1.119, allocations: 198.6 kB / 463.8 MB, free: 6.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005739/1.119, allocations: 437.2 kB / 464.2 MB, free: 6.301 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009166/1.128, allocations: 6.282 MB / 470.5 MB, free: 15.99 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001548/1.13, allocations: 2.618 MB / 473.1 MB, free: 13.37 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004796/1.131, allocations: 0.6624 MB / 473.8 MB, free: 12.68 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008269/1.131, allocations: 1.248 MB / 475.1 MB, free: 11.43 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009399/1.132, allocations: 0.7679 MB / 475.8 MB, free: 10.66 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001269/1.132, allocations: 124 kB / 475.9 MB, free: 10.54 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:525:9-525:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:708:9-708:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.1973/1.33, allocations: 15.66 MB / 491.6 MB, free: 13.41 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004708/1.33, allocations: 0.4971 MB / 492.1 MB, free: 13.41 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009667/1.331, allocations: 0.5439 MB / 492.6 MB, free: 13.41 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01194/1.343, allocations: 9.627 MB / 0.4905 GB, free: 13.24 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/1.343, allocations: 0 / 0.4905 GB, free: 13.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.343e-06/1.343, allocations: 2.031 kB / 0.4905 GB, free: 13.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.59e-05/1.343, allocations: 7.25 kB / 0.4905 GB, free: 13.24 MB / 426.7 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.005141/1.348, allocations: 2.144 MB / 0.4926 GB, free: 12.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/1.348, allocations: 12.77 kB / 0.4926 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/1.349, allocations: 160.9 kB / 0.4928 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/1.349, allocations: 419.8 kB / 0.4932 GB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.037e-05/1.349, allocations: 96.83 kB / 0.4933 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/1.349, allocations: 103.9 kB / 0.4934 GB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/1.35, allocations: 1.15 MB / 0.4945 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/1.35, allocations: 0 / 0.4945 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.14e-05/1.35, allocations: 42.03 kB / 0.4945 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.073e-05/1.35, allocations: 70.64 kB / 0.4946 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006441/1.351, allocations: 0.5285 MB / 0.4951 GB, free: 11.05 MB / 426.7 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.02889/1.38, allocations: 19.8 MB / 0.5144 GB, free: 13.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007564/1.381, allocations: 0.698 MB / 0.5151 GB, free: 13.01 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003738/1.381, allocations: 298.7 kB / 0.5154 GB, free: 12.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.033/1.414, allocations: 18.91 MB / 0.5339 GB, free: 9.848 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/1.414, allocations: 43.88 kB / 0.5339 GB, free: 9.797 MB / 458.7 MB Notification: Performance of pre-optimization done (n=292): time 3.065e-06/1.414, allocations: 4 kB / 0.5339 GB, free: 9.793 MB / 458.7 MB Notification: Performance of matching and sorting (n=292): time 0.01128/1.425, allocations: 3.795 MB / 0.5376 GB, free: 6.039 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/1.425, allocations: 68.72 kB / 0.5377 GB, free: 5.957 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/1.425, allocations: 237.5 kB / 0.5379 GB, free: 5.746 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.473e-05/1.426, allocations: 57.69 kB / 0.538 GB, free: 5.684 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/1.426, allocations: 283.1 kB / 0.5382 GB, free: 5.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004666/1.426, allocations: 0.9879 MB / 0.5392 GB, free: 4.484 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003216/1.426, allocations: 307.5 kB / 0.5395 GB, free: 4.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.524e-05/1.426, allocations: 321.3 kB / 0.5398 GB, free: 3.918 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/1.427, allocations: 283.2 kB / 0.5401 GB, free: 3.641 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004404/1.427, allocations: 437.8 kB / 0.5405 GB, free: 3.234 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/1.428, allocations: 0.9712 MB / 0.5414 GB, free: 2.262 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/1.428, allocations: 3.938 kB / 0.5414 GB, free: 2.258 MB / 458.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.001801/1.43, allocations: 1.38 MB / 0.5428 GB, free: 0.8906 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/1.43, allocations: 9.094 kB / 0.5428 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/1.43, allocations: 0 / 0.5428 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008018/1.438, allocations: 3.859 MB / 0.5466 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.659e-05/1.438, allocations: 35.45 kB / 0.5466 GB, free: 13.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002667/1.441, allocations: 1.99 MB / 0.5486 GB, free: 11.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005684/1.442, allocations: 166.5 kB / 0.5487 GB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/1.442, allocations: 39.95 kB / 0.5487 GB, free: 10.91 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (echangeurAPlaques1D.Ec.a,echangeurAPlaques1D.Ef.a,echangeurAPlaques1D.Sf.b,echangeurAPlaques1D.Sc.b,sourceP.C.b,sourceP1.C.b,puitsP.C.a,puitsP1.C.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.0003134/1.442, allocations: 178.5 kB / 0.5489 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/1.442, allocations: 85.16 kB / 0.549 GB, free: 10.65 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00563/1.448, allocations: 8.404 MB / 0.5572 GB, free: 4.707 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001656/1.449, allocations: 1.585 MB / 0.5588 GB, free: 3.121 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/1.449, allocations: 7.938 kB / 0.5588 GB, free: 3.113 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/1.449, allocations: 11.95 kB / 0.5588 GB, free: 3.102 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006136/1.456, allocations: 4.296 MB / 0.563 GB, free: 15.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/1.456, allocations: 0 / 0.563 GB, free: 15.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008589/1.456, allocations: 412.7 kB / 0.5634 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001912/1.458, allocations: 1.433 MB / 0.5648 GB, free: 13.24 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/1.458, allocations: 63.94 kB / 0.5648 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003139/1.462, allocations: 4.567 MB / 0.5693 GB, free: 8.461 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.462, allocations: 0 / 0.5693 GB, free: 8.461 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003806/1.465, allocations: 2.688 MB / 0.5719 GB, free: 5.812 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/1.466, allocations: 187.5 kB / 0.5721 GB, free: 5.629 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/1.466, allocations: 64.88 kB / 0.5721 GB, free: 5.566 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004155/1.466, allocations: 63.97 kB / 0.5722 GB, free: 5.504 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/1.466, allocations: 169 kB / 0.5724 GB, free: 5.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.985e-05/1.466, allocations: 63.94 kB / 0.5724 GB, free: 5.277 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001173/1.467, allocations: 155.1 kB / 0.5726 GB, free: 5.137 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/1.467, allocations: 4 kB / 0.5726 GB, free: 5.133 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004383/1.471, allocations: 1.38 MB / 0.5739 GB, free: 3.75 MB / 490.7 MB 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.002806/1.474, allocations: 1.472 MB / 0.5754 GB, free: 2.426 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002861/1.477, allocations: 2.255 MB / 0.5776 GB, free: 20 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.477, allocations: 4 kB / 0.5776 GB, free: 16 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001494/1.478, allocations: 1.229 MB / 0.5788 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/1.48, allocations: 0.8804 MB / 0.5796 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004867/1.485, allocations: 3.916 MB / 0.5835 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/1.485, allocations: 459.4 kB / 0.5839 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000413/1.486, allocations: 148.1 kB / 0.584 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008855/1.486, allocations: 0.4951 MB / 0.5845 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of SimCode: time 7.91e-07/1.486, allocations: 4 kB / 0.5845 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of Templates: time 0.07978/1.566, allocations: 86.04 MB / 0.6686 GB, free: 3.879 MB / 0.573 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.660703639034182]