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.7913/0.7913, allocations: 111.6 MB / 131 MB, free: 5.102 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.793e-06/1.793e-06, allocations: 0 / 175.7 MB, free: 9.445 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.568e-05, allocations: 2.312 kB / 175.7 MB, free: 9.441 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.642/1.642, allocations: 255.9 MB / 431.7 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03374/1.676, allocations: 20.78 MB / 452.5 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003208/1.677, allocations: 8 kB / 452.5 MB, free: 10.34 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.0005765/1.677, allocations: 198.6 kB / 452.7 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000871/1.678, allocations: 441.2 kB / 453.1 MB, free: 9.715 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.01946/1.697, allocations: 7.336 MB / 460.4 MB, free: 2.355 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003929/1.701, allocations: 2.614 MB / 463 MB, free: 15.73 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001523/1.703, allocations: 0.6463 MB / 463.7 MB, free: 15.07 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002284/1.705, allocations: 1.252 MB / 464.9 MB, free: 13.82 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001328/1.707, allocations: 0.7874 MB / 465.7 MB, free: 13.03 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002193/1.707, allocations: 120 kB / 465.8 MB, free: 12.91 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02793/1.735, allocations: 14.54 MB / 480.4 MB, free: 14.35 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008214/1.735, allocations: 498.7 kB / 480.9 MB, free: 13.86 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001058/1.737, allocations: 0.5418 MB / 481.4 MB, free: 13.32 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01976/1.756, allocations: 10.08 MB / 491.5 MB, free: 3.215 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/1.756, allocations: 4 kB / 491.5 MB, free: 3.211 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.373e-06/1.756, allocations: 0 / 491.5 MB, free: 3.211 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.781e-05/1.756, allocations: 0 / 491.5 MB, free: 3.211 MB / 442.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.007927/1.764, allocations: 2.265 MB / 493.8 MB, free: 0.9023 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/1.764, allocations: 15.98 kB / 493.8 MB, free: 0.8867 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004776/1.765, allocations: 220 kB / 494 MB, free: 0.6719 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/1.766, allocations: 0.5124 MB / 494.5 MB, free: 132 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/1.766, allocations: 94.38 kB / 494.6 MB, free: 36 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1336/1.9, allocations: 109.4 kB / 494.7 MB, free: 110.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002877/1.902, allocations: 1.971 MB / 496.7 MB, free: 109.4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/1.902, allocations: 6.969 kB / 496.7 MB, free: 109.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/1.903, allocations: 40.98 kB / 496.7 MB, free: 109.4 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.843e-05/1.903, allocations: 69.69 kB / 496.8 MB, free: 109.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002754/1.905, allocations: 1.92 MB / 498.7 MB, free: 108.6 MB / 442.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.06605/1.971, allocations: 24.11 MB / 0.5106 GB, free: 85.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00208/1.974, allocations: 1.521 MB / 0.512 GB, free: 84.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/1.975, allocations: 1.045 MB / 0.5131 GB, free: 83.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06357/2.039, allocations: 21.22 MB / 0.5338 GB, free: 61.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/2.039, allocations: 43.88 kB / 0.5338 GB, free: 61.86 MB / 442.7 MB Notification: Performance of pre-optimization done (n=292): time 3.716e-06/2.039, allocations: 0 / 0.5338 GB, free: 61.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=292): time 0.02937/2.068, allocations: 6.987 MB / 0.5407 GB, free: 54.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/2.068, allocations: 68.72 kB / 0.5407 GB, free: 54.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/2.068, allocations: 261.7 kB / 0.541 GB, free: 54.47 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.806e-05/2.068, allocations: 57.58 kB / 0.541 GB, free: 54.41 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/2.068, allocations: 298.7 kB / 0.5413 GB, free: 54.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004171/2.069, allocations: 0.9863 MB / 0.5423 GB, free: 53.14 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004381/2.069, allocations: 335.9 kB / 0.5426 GB, free: 52.81 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.528e-05/2.069, allocations: 322 kB / 0.5429 GB, free: 52.49 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/2.071, allocations: 1.026 MB / 0.5439 GB, free: 51.46 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/2.072, allocations: 1.22 MB / 0.5451 GB, free: 50.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003422/2.076, allocations: 2.472 MB / 0.5475 GB, free: 47.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/2.076, allocations: 0 / 0.5475 GB, free: 47.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.00563/2.082, allocations: 3.655 MB / 0.5511 GB, free: 43.99 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/2.082, allocations: 4 kB / 0.5511 GB, free: 43.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/2.082, allocations: 7.938 kB / 0.5511 GB, free: 43.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01546/2.097, allocations: 4.829 MB / 0.5558 GB, free: 39.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/2.097, allocations: 35.92 kB / 0.5558 GB, free: 39.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007428/2.105, allocations: 4.928 MB / 0.5607 GB, free: 34.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/2.106, allocations: 174.5 kB / 0.5608 GB, free: 34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/2.106, allocations: 67.89 kB / 0.5609 GB, free: 33.93 MB / 442.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.0005061/2.106, allocations: 373.5 kB / 0.5612 GB, free: 33.55 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/2.107, allocations: 140.4 kB / 0.5614 GB, free: 33.42 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009511/2.116, allocations: 10.79 MB / 0.5719 GB, free: 22.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005382/2.121, allocations: 3.956 MB / 0.5758 GB, free: 18.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/2.121, allocations: 0 / 0.5758 GB, free: 18.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2e-05/2.121, allocations: 19.94 kB / 0.5758 GB, free: 18.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01358/2.135, allocations: 7.401 MB / 0.583 GB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/2.135, allocations: 2.562 kB / 0.583 GB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/2.136, allocations: 355.6 kB / 0.5834 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004207/2.141, allocations: 1.941 MB / 0.5853 GB, free: 8.691 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/2.141, allocations: 67.94 kB / 0.5853 GB, free: 8.625 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006052/2.147, allocations: 6.727 MB / 0.5919 GB, free: 1.652 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/2.147, allocations: 0 / 0.5919 GB, free: 1.652 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01358/2.16, allocations: 6.247 MB / 0.598 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002948/2.161, allocations: 182.2 kB / 0.5982 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/2.161, allocations: 71.77 kB / 0.5982 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/2.162, allocations: 71.95 kB / 0.5983 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004354/2.162, allocations: 181.8 kB / 0.5985 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001882/2.163, allocations: 80.03 kB / 0.5986 GB, free: 10.76 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004974/2.163, allocations: 335.1 kB / 0.5989 GB, free: 10.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/2.163, allocations: 0 / 0.5989 GB, free: 10.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004482/2.168, allocations: 1.388 MB / 0.6002 GB, free: 9.039 MB / 458.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.004262/2.172, allocations: 1.391 MB / 0.6016 GB, free: 7.777 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008233/2.18, allocations: 3.838 MB / 0.6053 GB, free: 3.754 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/2.18, allocations: 0 / 0.6053 GB, free: 3.754 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004657/2.185, allocations: 2.008 MB / 0.6073 GB, free: 1.719 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003982/2.189, allocations: 0.8958 MB / 0.6082 GB, free: 0.8594 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/2.199, allocations: 5.001 MB / 0.6131 GB, free: 11.82 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/2.2, allocations: 0.9612 MB / 0.614 GB, free: 10.82 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001011/2.201, allocations: 300.4 kB / 0.6143 GB, free: 10.52 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/2.202, allocations: 100.5 kB / 0.6144 GB, free: 10.43 MB / 474.7 MB Notification: Performance of SimCode: time 9.82e-07/2.202, allocations: 0 / 0.6144 GB, free: 10.43 MB / 474.7 MB Notification: Performance of Templates: time 0.245/2.447, allocations: 76.66 MB / 0.6892 GB, free: 172.1 MB / 0.5105 GB " [Timeout remaining time 657] 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.254969208035618]