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.4789/0.4789, allocations: 111.6 MB / 132.2 MB, free: 4.41 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.402e-06/1.402e-06, allocations: 0 / 177.3 MB, free: 8.93 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.17e-05/1.31e-05, allocations: 2.312 kB / 177.3 MB, free: 8.926 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.008/1.008, allocations: 258.6 MB / 435.9 MB, free: 14.69 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01932/1.028, allocations: 22.19 MB / 458.1 MB, free: 8.426 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002661/1.028, allocations: 4 kB / 458.1 MB, free: 8.422 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.0004244/1.028, allocations: 190.7 kB / 458.3 MB, free: 8.234 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005253/1.029, allocations: 437.3 kB / 458.8 MB, free: 7.805 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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 master/Properties/WaterSteam/IF97_packages.mo:525:9-525: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 master/Properties/WaterSteam/IF97_packages.mo:708:9-708: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.01193/1.041, allocations: 7.34 MB / 466.1 MB, free: 448 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001695/1.043, allocations: 2.618 MB / 468.7 MB, free: 13.81 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005785/1.043, allocations: 0.6502 MB / 469.4 MB, free: 13.15 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009425/1.044, allocations: 1.255 MB / 470.6 MB, free: 11.89 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007226/1.045, allocations: 0.7835 MB / 471.4 MB, free: 11.11 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/1.045, allocations: 120 kB / 471.5 MB, free: 10.99 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1917/1.237, allocations: 14.53 MB / 486.1 MB, free: 14.51 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004622/1.237, allocations: 0.4944 MB / 486.5 MB, free: 14.51 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008149/1.238, allocations: 0.5403 MB / 487.1 MB, free: 14.51 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01131/1.249, allocations: 9.63 MB / 496.7 MB, free: 14.35 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.249, allocations: 3.875 kB / 496.7 MB, free: 14.35 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.373e-06/1.249, allocations: 0 / 496.7 MB, free: 14.35 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.127e-05/1.249, allocations: 1.219 kB / 496.7 MB, free: 14.35 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.004452/1.254, allocations: 2.338 MB / 499.1 MB, free: 13.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/1.254, allocations: 13.27 kB / 499.1 MB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002976/1.254, allocations: 220.1 kB / 499.3 MB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000456/1.255, allocations: 466.4 kB / 499.7 MB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.471e-05/1.255, allocations: 97.84 kB / 499.8 MB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/1.255, allocations: 103.2 kB / 499.9 MB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/1.256, allocations: 1.168 MB / 0.4894 GB, free: 12.67 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/1.256, allocations: 0 / 0.4894 GB, free: 12.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.811e-05/1.256, allocations: 44.14 kB / 0.4894 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/1.256, allocations: 69.95 kB / 0.4895 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006838/1.257, allocations: 0.576 MB / 0.49 GB, free: 12.59 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.03125/1.288, allocations: 20.89 MB / 0.5104 GB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007861/1.289, allocations: 0.7104 MB / 0.5111 GB, free: 14.52 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004301/1.289, allocations: 365.4 kB / 0.5115 GB, free: 14.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03271/1.322, allocations: 18.34 MB / 0.5294 GB, free: 11.84 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/1.322, allocations: 50.69 kB / 0.5294 GB, free: 11.78 MB / 458.7 MB Notification: Performance of pre-optimization done (n=292): time 3.226e-06/1.322, allocations: 0 / 0.5294 GB, free: 11.78 MB / 458.7 MB Notification: Performance of matching and sorting (n=292): time 0.01239/1.334, allocations: 4.457 MB / 0.5338 GB, free: 7.348 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/1.334, allocations: 64.72 kB / 0.5339 GB, free: 7.273 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/1.334, allocations: 300.3 kB / 0.5341 GB, free: 6.992 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.521e-05/1.335, allocations: 45.7 kB / 0.5342 GB, free: 6.941 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/1.335, allocations: 349.8 kB / 0.5345 GB, free: 6.602 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007531/1.335, allocations: 1.038 MB / 0.5355 GB, free: 5.625 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004563/1.336, allocations: 375.1 kB / 0.5359 GB, free: 5.301 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/1.336, allocations: 0.4886 MB / 0.5364 GB, free: 4.812 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004176/1.336, allocations: 310.6 kB / 0.5367 GB, free: 4.512 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005436/1.337, allocations: 0.5602 MB / 0.5372 GB, free: 3.961 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/1.338, allocations: 1.083 MB / 0.5383 GB, free: 2.875 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/1.338, allocations: 0 / 0.5383 GB, free: 2.875 MB / 458.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.002183/1.34, allocations: 1.759 MB / 0.54 GB, free: 1.125 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/1.34, allocations: 7.984 kB / 0.54 GB, free: 1.117 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/1.34, allocations: 4 kB / 0.54 GB, free: 1.113 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007252/1.348, allocations: 3.983 MB / 0.5439 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.615e-05/1.348, allocations: 37.59 kB / 0.5439 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/1.351, allocations: 2.56 MB / 0.5464 GB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005376/1.351, allocations: 162.6 kB / 0.5466 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-05/1.351, allocations: 51.95 kB / 0.5466 GB, free: 10.41 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.0003003/1.351, allocations: 225.6 kB / 0.5468 GB, free: 10.19 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/1.352, allocations: 139.3 kB / 0.547 GB, free: 10.05 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00731/1.359, allocations: 11.26 MB / 0.558 GB, free: 1.117 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002035/1.361, allocations: 1.974 MB / 0.5599 GB, free: 15.13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.361, allocations: 0 / 0.5599 GB, free: 15.13 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/1.361, allocations: 15.95 kB / 0.5599 GB, free: 15.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006334/1.367, allocations: 4.891 MB / 0.5647 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/1.367, allocations: 4 kB / 0.5647 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006917/1.368, allocations: 349.9 kB / 0.565 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001888/1.37, allocations: 1.477 MB / 0.5665 GB, free: 8.691 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001806/1.37, allocations: 72.62 kB / 0.5665 GB, free: 8.621 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00329/1.373, allocations: 6.344 MB / 0.5727 GB, free: 2.078 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.373, allocations: 0 / 0.5727 GB, free: 2.078 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004183/1.378, allocations: 3.111 MB / 0.5758 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/1.378, allocations: 194.2 kB / 0.576 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/1.378, allocations: 59.84 kB / 0.576 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/1.378, allocations: 56.55 kB / 0.5761 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/1.379, allocations: 188.9 kB / 0.5762 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.814e-05/1.379, allocations: 64.81 kB / 0.5763 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001502/1.379, allocations: 291.3 kB / 0.5766 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/1.379, allocations: 0 / 0.5766 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00347/1.382, allocations: 1.388 MB / 0.5779 GB, free: 12.79 MB / 0.4948 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.002622/1.385, allocations: 1.42 MB / 0.5793 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002652/1.388, allocations: 2.448 MB / 0.5817 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.388, allocations: 1.875 kB / 0.5817 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001541/1.389, allocations: 1.467 MB / 0.5832 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/1.391, allocations: 0.8866 MB / 0.584 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00479/1.396, allocations: 4.132 MB / 0.5881 GB, free: 2.527 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/1.396, allocations: 471.3 kB / 0.5885 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004151/1.397, allocations: 155.4 kB / 0.5887 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008576/1.397, allocations: 0.5915 MB / 0.5892 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of SimCode: time 1.082e-06/1.397, allocations: 0 / 0.5892 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of Templates: time 0.07875/1.476, allocations: 87.9 MB / 0.6751 GB, free: 10.28 MB / 0.5886 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.95318600628525]