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.4728/0.4728, allocations: 111.6 MB / 131.2 MB, free: 4.605 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.462e-06/1.462e-06, allocations: 0 / 176.2 MB, free: 9.176 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.674e-05/1.82e-05, allocations: 8.844 kB / 176.2 MB, free: 9.168 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.05/1.05, allocations: 258.6 MB / 434.8 MB, free: 14.44 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02294/1.073, allocations: 22.53 MB / 457.4 MB, free: 7.836 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003571/1.074, allocations: 4 kB / 457.4 MB, free: 7.832 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.0004402/1.074, allocations: 194.7 kB / 457.6 MB, free: 7.641 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006249/1.075, allocations: 437.3 kB / 458 MB, free: 7.211 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.01317/1.088, allocations: 7.336 MB / 465.3 MB, free: 15.85 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00171/1.09, allocations: 2.618 MB / 468 MB, free: 13.22 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005695/1.09, allocations: 0.6463 MB / 468.6 MB, free: 12.56 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009295/1.091, allocations: 1.255 MB / 469.9 MB, free: 11.3 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007154/1.092, allocations: 0.7796 MB / 470.6 MB, free: 10.52 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001451/1.092, allocations: 120 kB / 470.7 MB, free: 10.41 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2124/1.304, allocations: 14.54 MB / 485.3 MB, free: 14.42 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004185/1.305, allocations: 0.4955 MB / 485.8 MB, free: 14.42 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008858/1.306, allocations: 0.5423 MB / 486.3 MB, free: 14.42 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01299/1.319, allocations: 9.625 MB / 495.9 MB, free: 14.26 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.319, allocations: 5.375 kB / 496 MB, free: 14.26 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.513e-06/1.319, allocations: 1.344 kB / 496 MB, free: 14.26 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.431e-05/1.319, allocations: 1.906 kB / 496 MB, free: 14.26 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.004071/1.323, allocations: 2.375 MB / 498.3 MB, free: 13.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/1.323, allocations: 13.7 kB / 498.3 MB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003035/1.323, allocations: 220.3 kB / 498.6 MB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005032/1.324, allocations: 0.496 MB / 499.1 MB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.959e-05/1.324, allocations: 92.58 kB / 499.1 MB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/1.324, allocations: 104.5 kB / 499.2 MB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/1.325, allocations: 1.291 MB / 0.4888 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/1.325, allocations: 3.75 kB / 0.4888 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.982e-05/1.325, allocations: 42.75 kB / 0.4889 GB, free: 12.24 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/1.325, allocations: 66.55 kB / 0.4889 GB, free: 12.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009767/1.326, allocations: 0.7553 MB / 0.4897 GB, free: 12.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.03381/1.36, allocations: 23.95 MB / 0.513 GB, free: 11.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009823/1.361, allocations: 0.8186 MB / 0.5138 GB, free: 10.26 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005986/1.362, allocations: 461.3 kB / 0.5143 GB, free: 9.801 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03536/1.397, allocations: 21.29 MB / 0.5351 GB, free: 4.527 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/1.397, allocations: 53 kB / 0.5351 GB, free: 4.469 MB / 458.7 MB Notification: Performance of pre-optimization done (n=292): time 3.667e-06/1.397, allocations: 0 / 0.5351 GB, free: 4.469 MB / 458.7 MB Notification: Performance of matching and sorting (n=292): time 0.0135/1.411, allocations: 4.864 MB / 0.5399 GB, free: 15.61 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/1.411, allocations: 71.09 kB / 0.5399 GB, free: 15.53 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/1.411, allocations: 304.2 kB / 0.5402 GB, free: 15.21 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.026e-05/1.411, allocations: 49.7 kB / 0.5403 GB, free: 15.16 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/1.411, allocations: 342.7 kB / 0.5406 GB, free: 14.82 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005183/1.412, allocations: 1.03 MB / 0.5416 GB, free: 13.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003751/1.412, allocations: 370.1 kB / 0.542 GB, free: 13.43 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/1.412, allocations: 0.4886 MB / 0.5424 GB, free: 12.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006116/1.413, allocations: 407.5 kB / 0.5428 GB, free: 12.54 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007433/1.413, allocations: 0.6515 MB / 0.5435 GB, free: 11.85 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/1.415, allocations: 1.251 MB / 0.5447 GB, free: 10.54 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.415, allocations: 0 / 0.5447 GB, free: 10.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.002728/1.418, allocations: 2.024 MB / 0.5467 GB, free: 8.492 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/1.418, allocations: 4 kB / 0.5467 GB, free: 8.488 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.418, allocations: 4 kB / 0.5467 GB, free: 8.484 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008002/1.426, allocations: 4.108 MB / 0.5507 GB, free: 4.391 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.901e-05/1.426, allocations: 35.55 kB / 0.5507 GB, free: 4.359 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003399/1.429, allocations: 2.766 MB / 0.5534 GB, free: 1.559 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005623/1.43, allocations: 174.5 kB / 0.5536 GB, free: 1.387 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.453e-05/1.43, allocations: 64.45 kB / 0.5536 GB, free: 1.324 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 (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.0003149/1.43, allocations: 207.6 kB / 0.5538 GB, free: 1.113 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/1.43, allocations: 143.3 kB / 0.554 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008337/1.439, allocations: 11.08 MB / 0.5648 GB, free: 5.574 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002539/1.441, allocations: 2.278 MB / 0.567 GB, free: 3.258 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/1.441, allocations: 0 / 0.567 GB, free: 3.258 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/1.441, allocations: 11.95 kB / 0.567 GB, free: 3.246 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007135/1.448, allocations: 5.398 MB / 0.5723 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/1.448, allocations: 0 / 0.5723 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007405/1.449, allocations: 357.3 kB / 0.5726 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002157/1.451, allocations: 1.537 MB / 0.5741 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/1.451, allocations: 67.94 kB / 0.5742 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003695/1.455, allocations: 6.59 MB / 0.5806 GB, free: 5.098 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.455, allocations: 0 / 0.5806 GB, free: 5.098 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004969/1.46, allocations: 3.54 MB / 0.5841 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/1.46, allocations: 190.2 kB / 0.5843 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/1.46, allocations: 70.62 kB / 0.5844 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/1.461, allocations: 63.97 kB / 0.5844 GB, free: 1.184 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002624/1.461, allocations: 184.9 kB / 0.5846 GB, free: 1.004 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001621/1.461, allocations: 83.95 kB / 0.5847 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000231/1.462, allocations: 319 kB / 0.585 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/1.462, allocations: 0 / 0.585 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003449/1.465, allocations: 1.385 MB / 0.5863 GB, free: 15.22 MB / 0.5105 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.002835/1.468, allocations: 1.387 MB / 0.5877 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003228/1.471, allocations: 2.668 MB / 0.5903 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.471, allocations: 1.875 kB / 0.5903 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001951/1.473, allocations: 1.605 MB / 0.5919 GB, free: 9.516 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/1.475, allocations: 0.8837 MB / 0.5927 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005279/1.48, allocations: 4.199 MB / 0.5968 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/1.481, allocations: 475.3 kB / 0.5973 GB, free: 3.969 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004887/1.481, allocations: 264.4 kB / 0.5975 GB, free: 3.719 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/1.481, allocations: 96.47 kB / 0.5976 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of SimCode: time 1.092e-06/1.481, allocations: 0 / 0.5976 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of Templates: time 0.07671/1.558, allocations: 87.76 MB / 0.6833 GB, free: 12.73 MB / 0.6042 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: 7.090908620040864]