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.4901/0.4901, allocations: 111.6 MB / 131.2 MB, free: 4.566 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.494e-06/2.494e-06, allocations: 4 kB / 176.2 MB, free: 9.184 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.814e-05, allocations: 2.312 kB / 176.2 MB, free: 9.18 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.043/1.043, allocations: 258.6 MB / 434.8 MB, free: 14.8 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01973/1.063, allocations: 22.52 MB / 457.4 MB, free: 8.203 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/1.063, allocations: 8 kB / 457.4 MB, free: 8.195 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.0004034/1.064, allocations: 190.7 kB / 457.6 MB, free: 8.008 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000461/1.064, allocations: 445.2 kB / 458 MB, free: 7.57 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.01036/1.075, allocations: 7.344 MB / 465.3 MB, free: 204 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001534/1.076, allocations: 2.618 MB / 467.9 MB, free: 13.57 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004746/1.077, allocations: 0.6424 MB / 468.6 MB, free: 12.92 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/1.078, allocations: 1.255 MB / 469.8 MB, free: 11.66 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006676/1.078, allocations: 0.7835 MB / 470.6 MB, free: 10.88 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/1.078, allocations: 120 kB / 470.7 MB, free: 10.76 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.189/1.267, allocations: 14.54 MB / 485.3 MB, free: 14.28 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005488/1.268, allocations: 0.4934 MB / 485.8 MB, free: 14.28 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001044/1.269, allocations: 0.5406 MB / 486.3 MB, free: 14.28 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0135/1.282, allocations: 9.633 MB / 496 MB, free: 14.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.282, allocations: 0 / 496 MB, free: 14.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.743e-06/1.282, allocations: 0.8438 kB / 496 MB, free: 14.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.84e-05/1.282, allocations: 0 / 496 MB, free: 14.12 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.005587/1.288, allocations: 2.371 MB / 498.3 MB, free: 13.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/1.288, allocations: 13.36 kB / 498.3 MB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003271/1.288, allocations: 219.6 kB / 498.5 MB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005474/1.289, allocations: 0.4984 MB / 499 MB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.757e-05/1.289, allocations: 95.33 kB / 499.1 MB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/1.289, allocations: 106.1 kB / 499.2 MB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/1.291, allocations: 1.284 MB / 0.4888 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/1.291, allocations: 6.531 kB / 0.4888 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.797e-05/1.291, allocations: 41.41 kB / 0.4888 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.392e-05/1.291, allocations: 72.97 kB / 0.4889 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/1.292, allocations: 0.7559 MB / 0.4897 GB, free: 12.07 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.0361/1.328, allocations: 23.94 MB / 0.513 GB, free: 11.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/1.329, allocations: 0.8211 MB / 0.5138 GB, free: 10.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006173/1.33, allocations: 457.3 kB / 0.5143 GB, free: 10.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03744/1.367, allocations: 21.29 MB / 0.5351 GB, free: 4.867 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/1.367, allocations: 52.34 kB / 0.5351 GB, free: 4.809 MB / 458.7 MB Notification: Performance of pre-optimization done (n=292): time 3.156e-06/1.367, allocations: 0 / 0.5351 GB, free: 4.809 MB / 458.7 MB Notification: Performance of matching and sorting (n=292): time 0.01364/1.381, allocations: 4.866 MB / 0.5399 GB, free: 15.94 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/1.381, allocations: 68.66 kB / 0.5399 GB, free: 15.86 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/1.381, allocations: 296.2 kB / 0.5402 GB, free: 15.55 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.936e-05/1.381, allocations: 49.7 kB / 0.5403 GB, free: 15.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/1.381, allocations: 344.6 kB / 0.5406 GB, free: 15.16 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005355/1.382, allocations: 1.03 MB / 0.5416 GB, free: 14.14 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003997/1.382, allocations: 370.1 kB / 0.542 GB, free: 13.77 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/1.382, allocations: 496.4 kB / 0.5424 GB, free: 13.28 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006509/1.383, allocations: 411.5 kB / 0.5428 GB, free: 12.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000786/1.384, allocations: 0.6561 MB / 0.5435 GB, free: 12.18 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/1.385, allocations: 1.242 MB / 0.5447 GB, free: 10.89 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/1.385, allocations: 0 / 0.5447 GB, free: 10.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.003001/1.388, allocations: 2.026 MB / 0.5466 GB, free: 8.836 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/1.388, allocations: 9.75 kB / 0.5467 GB, free: 8.828 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.388, allocations: 0 / 0.5467 GB, free: 8.828 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007809/1.396, allocations: 4.109 MB / 0.5507 GB, free: 4.734 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.445e-05/1.396, allocations: 34.98 kB / 0.5507 GB, free: 4.703 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003613/1.4, allocations: 2.775 MB / 0.5534 GB, free: 1.895 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005483/1.4, allocations: 174.5 kB / 0.5536 GB, free: 1.723 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.095e-05/1.4, allocations: 59.94 kB / 0.5536 GB, free: 1.664 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.0002909/1.401, allocations: 215.8 kB / 0.5538 GB, free: 1.449 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/1.401, allocations: 139.3 kB / 0.554 GB, free: 1.312 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008624/1.41, allocations: 11.08 MB / 0.5648 GB, free: 5.914 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002818/1.412, allocations: 2.279 MB / 0.567 GB, free: 3.598 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/1.412, allocations: 4 kB / 0.567 GB, free: 3.594 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/1.412, allocations: 11.95 kB / 0.567 GB, free: 3.582 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007583/1.42, allocations: 5.388 MB / 0.5723 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/1.42, allocations: 0 / 0.5723 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007431/1.421, allocations: 356.3 kB / 0.5726 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002239/1.423, allocations: 1.544 MB / 0.5741 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/1.423, allocations: 71.94 kB / 0.5742 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003776/1.427, allocations: 6.586 MB / 0.5806 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.427, allocations: 0 / 0.5806 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005223/1.432, allocations: 3.541 MB / 0.5841 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/1.432, allocations: 194.2 kB / 0.5843 GB, free: 1.648 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/1.432, allocations: 63.78 kB / 0.5844 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004394/1.433, allocations: 67.97 kB / 0.5844 GB, free: 1.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/1.433, allocations: 185.3 kB / 0.5846 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-05/1.433, allocations: 78.25 kB / 0.5847 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002155/1.433, allocations: 323 kB / 0.585 GB, free: 0.9492 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/1.433, allocations: 0 / 0.585 GB, free: 0.9492 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003338/1.437, allocations: 1.38 MB / 0.5863 GB, free: 15.56 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.002925/1.44, allocations: 1.382 MB / 0.5877 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003272/1.443, allocations: 2.666 MB / 0.5903 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.443, allocations: 1.875 kB / 0.5903 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001873/1.445, allocations: 1.612 MB / 0.5919 GB, free: 9.859 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/1.447, allocations: 0.8873 MB / 0.5927 GB, free: 9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005419/1.452, allocations: 4.199 MB / 0.5968 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/1.453, allocations: 479.3 kB / 0.5973 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004986/1.453, allocations: 257.3 kB / 0.5975 GB, free: 4.059 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/1.453, allocations: 96.47 kB / 0.5976 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of SimCode: time 8.31e-07/1.453, allocations: 4 kB / 0.5976 GB, free: 3.961 MB / 0.5105 GB Notification: Performance of Templates: time 0.07009/1.523, allocations: 77.27 MB / 0.6731 GB, free: 7.566 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.442508491687477]