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.4891/0.4891, allocations: 111.6 MB / 131.7 MB, free: 5.062 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 2.024e-06/2.024e-06, allocations: 0 / 176.5 MB, free: 9.426 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.934e-05, allocations: 5.047 kB / 176.5 MB, free: 9.422 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.04/1.04, allocations: 258.6 MB / 435.1 MB, free: 14.81 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02034/1.06, allocations: 22.45 MB / 457.5 MB, free: 8.285 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002535/1.06, allocations: 4 kB / 457.5 MB, free: 8.281 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.0005017/1.061, allocations: 198.7 kB / 457.7 MB, free: 8.086 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005266/1.061, allocations: 433.3 kB / 458.2 MB, free: 7.66 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.01322/1.075, allocations: 7.336 MB / 465.5 MB, free: 304 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002062/1.077, allocations: 2.622 MB / 468.1 MB, free: 13.67 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006258/1.077, allocations: 0.6502 MB / 468.8 MB, free: 13 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009861/1.078, allocations: 1.252 MB / 470 MB, free: 11.75 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007604/1.079, allocations: 0.7835 MB / 470.8 MB, free: 10.96 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001451/1.079, allocations: 120 kB / 470.9 MB, free: 10.85 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1851/1.264, allocations: 14.53 MB / 485.5 MB, free: 14.36 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005093/1.265, allocations: 0.4985 MB / 486 MB, free: 14.36 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001299/1.266, allocations: 0.5386 MB / 486.5 MB, free: 14.36 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01319/1.279, allocations: 9.626 MB / 496.1 MB, free: 14.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.279, allocations: 0 / 496.1 MB, free: 14.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.182e-06/1.279, allocations: 0 / 496.1 MB, free: 14.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.66e-05/1.279, allocations: 2.469 kB / 496.1 MB, free: 14.2 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.004733/1.284, allocations: 2.374 MB / 498.5 MB, free: 13.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/1.284, allocations: 12.2 kB / 498.5 MB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003222/1.284, allocations: 223 kB / 498.7 MB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005171/1.285, allocations: 0.4954 MB / 499.2 MB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.808e-05/1.285, allocations: 97.52 kB / 499.3 MB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/1.285, allocations: 103.6 kB / 499.4 MB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/1.287, allocations: 1.284 MB / 0.489 GB, free: 12.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/1.287, allocations: 6.5 kB / 0.489 GB, free: 12.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.041e-05/1.287, allocations: 38.81 kB / 0.489 GB, free: 12.28 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.199e-05/1.287, allocations: 74.84 kB / 0.4891 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/1.288, allocations: 0.7612 MB / 0.4898 GB, free: 12.16 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.0356/1.323, allocations: 23.95 MB / 0.5132 GB, free: 11.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/1.325, allocations: 0.8126 MB / 0.514 GB, free: 10.67 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006219/1.325, allocations: 465.1 kB / 0.5144 GB, free: 10.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03651/1.362, allocations: 21.28 MB / 0.5352 GB, free: 4.945 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/1.362, allocations: 50.7 kB / 0.5353 GB, free: 4.887 MB / 458.7 MB Notification: Performance of pre-optimization done (n=292): time 2.925e-06/1.362, allocations: 0 / 0.5353 GB, free: 4.887 MB / 458.7 MB Notification: Performance of matching and sorting (n=292): time 0.01374/1.375, allocations: 4.876 MB / 0.54 GB, free: 16 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/1.375, allocations: 68.72 kB / 0.5401 GB, free: 15.94 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/1.376, allocations: 301.6 kB / 0.5404 GB, free: 15.62 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.551e-05/1.376, allocations: 49.7 kB / 0.5404 GB, free: 15.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/1.376, allocations: 343 kB / 0.5408 GB, free: 15.23 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005106/1.376, allocations: 1.022 MB / 0.5418 GB, free: 14.22 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003747/1.377, allocations: 374.1 kB / 0.5421 GB, free: 13.84 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002103/1.377, allocations: 0.4912 MB / 0.5426 GB, free: 13.35 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006457/1.378, allocations: 407.5 kB / 0.543 GB, free: 12.95 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007861/1.378, allocations: 0.6483 MB / 0.5436 GB, free: 12.26 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/1.38, allocations: 1.248 MB / 0.5448 GB, free: 10.96 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.38, allocations: 4 kB / 0.5448 GB, free: 10.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.002791/1.383, allocations: 2.019 MB / 0.5468 GB, free: 8.914 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/1.383, allocations: 12.25 kB / 0.5468 GB, free: 8.902 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/1.383, allocations: 0 / 0.5468 GB, free: 8.902 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008004/1.391, allocations: 4.108 MB / 0.5508 GB, free: 4.812 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.617e-05/1.391, allocations: 39.45 kB / 0.5509 GB, free: 4.777 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003388/1.394, allocations: 2.762 MB / 0.5536 GB, free: 1.977 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005046/1.395, allocations: 174.5 kB / 0.5537 GB, free: 1.805 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/1.395, allocations: 67.94 kB / 0.5538 GB, free: 1.738 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.0002776/1.395, allocations: 212.2 kB / 0.554 GB, free: 1.527 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/1.395, allocations: 143.9 kB / 0.5541 GB, free: 1.387 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00864/1.404, allocations: 11.07 MB / 0.565 GB, free: 5.992 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002625/1.407, allocations: 2.28 MB / 0.5672 GB, free: 3.672 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.407, allocations: 0 / 0.5672 GB, free: 3.672 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/1.407, allocations: 15.94 kB / 0.5672 GB, free: 3.656 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007328/1.414, allocations: 5.401 MB / 0.5725 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/1.414, allocations: 0 / 0.5725 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000734/1.415, allocations: 348.6 kB / 0.5728 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002069/1.417, allocations: 1.547 MB / 0.5743 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/1.417, allocations: 67.94 kB / 0.5744 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003836/1.421, allocations: 6.581 MB / 0.5808 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.421, allocations: 3.984 kB / 0.5808 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005464/1.426, allocations: 3.542 MB / 0.5843 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/1.426, allocations: 190.2 kB / 0.5844 GB, free: 1.727 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/1.427, allocations: 68.88 kB / 0.5845 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004452/1.427, allocations: 67.95 kB / 0.5846 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/1.427, allocations: 177.7 kB / 0.5847 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.416e-05/1.427, allocations: 88.81 kB / 0.5848 GB, free: 1.332 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002113/1.428, allocations: 315 kB / 0.5851 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/1.428, allocations: 0 / 0.5851 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00323/1.431, allocations: 1.385 MB / 0.5865 GB, free: 15.63 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.00267/1.434, allocations: 1.395 MB / 0.5878 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003091/1.437, allocations: 2.656 MB / 0.5904 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/1.437, allocations: 0 / 0.5904 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002118/1.439, allocations: 1.608 MB / 0.592 GB, free: 9.938 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/1.441, allocations: 0.8965 MB / 0.5929 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005134/1.446, allocations: 4.201 MB / 0.597 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/1.446, allocations: 471.3 kB / 0.5974 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004986/1.447, allocations: 255.6 kB / 0.5977 GB, free: 4.137 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/1.447, allocations: 104.5 kB / 0.5978 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of SimCode: time 1.102e-06/1.447, allocations: 0 / 0.5978 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of Templates: time 0.06941/1.516, allocations: 77.28 MB / 0.6732 GB, free: 7.637 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.1588395370636135]