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.8126/0.8126, allocations: 111.6 MB / 131 MB, free: 5.09 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.044e-06/2.044e-06, allocations: 0 / 175.7 MB, free: 9.453 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.788e-05/2.993e-05, allocations: 6.312 kB / 175.7 MB, free: 9.445 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.86/1.86, allocations: 256.3 MB / 432 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03624/1.896, allocations: 22.42 MB / 454.5 MB, free: 8.363 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003842/1.897, allocations: 4 kB / 454.5 MB, free: 8.359 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.0006436/1.897, allocations: 198.7 kB / 454.7 MB, free: 8.164 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001082/1.898, allocations: 441.2 kB / 455.1 MB, free: 7.73 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.01997/1.918, allocations: 7.344 MB / 462.4 MB, free: 372 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00341/1.922, allocations: 2.614 MB / 465 MB, free: 13.74 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009499/1.923, allocations: 0.6424 MB / 465.7 MB, free: 13.09 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001702/1.924, allocations: 1.252 MB / 466.9 MB, free: 11.83 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/1.926, allocations: 0.7874 MB / 467.7 MB, free: 11.04 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002425/1.926, allocations: 120 kB / 467.8 MB, free: 10.93 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02831/1.954, allocations: 14.55 MB / 482.4 MB, free: 12.36 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008314/1.955, allocations: 498.7 kB / 482.9 MB, free: 11.87 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001137/1.956, allocations: 0.5457 MB / 483.4 MB, free: 11.32 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02066/1.977, allocations: 10.08 MB / 493.5 MB, free: 1.215 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/1.977, allocations: 0 / 493.5 MB, free: 1.215 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.382e-06/1.977, allocations: 0 / 493.5 MB, free: 1.215 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.801e-05/1.977, allocations: 3.938 kB / 493.5 MB, free: 1.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.1403/2.117, allocations: 2.447 MB / 496 MB, free: 110.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/2.117, allocations: 11.7 kB / 496 MB, free: 110.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003923/2.118, allocations: 223.4 kB / 496.2 MB, free: 110.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009633/2.119, allocations: 0.4927 MB / 496.7 MB, free: 109.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.67e-05/2.119, allocations: 92.95 kB / 496.8 MB, free: 109.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/2.119, allocations: 115 kB / 496.9 MB, free: 109.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/2.121, allocations: 1.41 MB / 498.3 MB, free: 109.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/2.121, allocations: 3.938 kB / 498.3 MB, free: 109.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/2.121, allocations: 39.88 kB / 498.3 MB, free: 109.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.102e-05/2.121, allocations: 70.75 kB / 498.4 MB, free: 109.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/2.123, allocations: 0.9902 MB / 499.4 MB, free: 108.8 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.06913/2.192, allocations: 24.78 MB / 0.5119 GB, free: 84.31 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/2.194, allocations: 0.9214 MB / 0.5128 GB, free: 83.39 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/2.195, allocations: 0.5637 MB / 0.5133 GB, free: 82.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06832/2.263, allocations: 21.28 MB / 0.5341 GB, free: 61.55 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/2.263, allocations: 50.7 kB / 0.5342 GB, free: 61.49 MB / 442.7 MB Notification: Performance of pre-optimization done (n=292): time 3.377e-06/2.263, allocations: 0 / 0.5342 GB, free: 61.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=292): time 0.02689/2.29, allocations: 5.338 MB / 0.5394 GB, free: 56.1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/2.29, allocations: 64.72 kB / 0.5394 GB, free: 56.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/2.29, allocations: 356.1 kB / 0.5398 GB, free: 55.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.122e-05/2.29, allocations: 49.7 kB / 0.5398 GB, free: 55.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/2.29, allocations: 362.2 kB / 0.5402 GB, free: 55.24 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005143/2.291, allocations: 1.06 MB / 0.5412 GB, free: 54.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005156/2.291, allocations: 414.1 kB / 0.5416 GB, free: 53.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.987e-05/2.292, allocations: 0.4926 MB / 0.5421 GB, free: 53.29 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/2.293, allocations: 0.5229 MB / 0.5426 GB, free: 52.76 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/2.294, allocations: 0.8161 MB / 0.5434 GB, free: 51.9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002586/2.296, allocations: 1.74 MB / 0.5451 GB, free: 50.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/2.296, allocations: 0 / 0.5451 GB, free: 50.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.004439/2.301, allocations: 2.397 MB / 0.5474 GB, free: 47.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/2.301, allocations: 9.25 kB / 0.5474 GB, free: 47.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/2.301, allocations: 4.188 kB / 0.5474 GB, free: 47.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0145/2.315, allocations: 4.274 MB / 0.5516 GB, free: 43.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/2.316, allocations: 31.92 kB / 0.5516 GB, free: 43.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006306/2.322, allocations: 3.377 MB / 0.5549 GB, free: 39.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000971/2.323, allocations: 172.3 kB / 0.5551 GB, free: 39.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/2.323, allocations: 59.95 kB / 0.5552 GB, free: 39.71 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.0005164/2.323, allocations: 324.4 kB / 0.5555 GB, free: 39.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003279/2.324, allocations: 139.3 kB / 0.5556 GB, free: 39.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/2.335, allocations: 12.73 MB / 0.568 GB, free: 26.19 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004189/2.339, allocations: 2.597 MB / 0.5706 GB, free: 23.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/2.339, allocations: 3.984 kB / 0.5706 GB, free: 23.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.971e-05/2.339, allocations: 11.95 kB / 0.5706 GB, free: 23.53 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01335/2.353, allocations: 6.904 MB / 0.5773 GB, free: 16.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/2.353, allocations: 4 kB / 0.5773 GB, free: 16.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/2.354, allocations: 355.6 kB / 0.5777 GB, free: 16.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003714/2.358, allocations: 1.578 MB / 0.5792 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001952/2.358, allocations: 71.94 kB / 0.5793 GB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00497/2.363, allocations: 6.739 MB / 0.5859 GB, free: 7.434 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/2.363, allocations: 0 / 0.5859 GB, free: 7.434 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009201/2.372, allocations: 4.218 MB / 0.59 GB, free: 3.133 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/2.372, allocations: 190.1 kB / 0.5902 GB, free: 2.945 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002281/2.373, allocations: 59.89 kB / 0.5902 GB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009947/2.374, allocations: 67.97 kB / 0.5903 GB, free: 2.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002989/2.374, allocations: 177.8 kB / 0.5905 GB, free: 2.645 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/2.374, allocations: 83.94 kB / 0.5905 GB, free: 2.562 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003095/2.374, allocations: 383.1 kB / 0.5909 GB, free: 2.191 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/2.374, allocations: 0 / 0.5909 GB, free: 2.191 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003034/2.377, allocations: 1.384 MB / 0.5923 GB, free: 0.8047 MB / 442.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.004869/2.382, allocations: 1.391 MB / 0.5936 GB, free: 15.54 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007596/2.39, allocations: 2.976 MB / 0.5965 GB, free: 12.37 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/2.39, allocations: 0.5 kB / 0.5965 GB, free: 12.37 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004668/2.395, allocations: 1.789 MB / 0.5983 GB, free: 10.53 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004746/2.399, allocations: 0.8866 MB / 0.5991 GB, free: 9.684 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/2.41, allocations: 4.422 MB / 0.6035 GB, free: 5.234 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/2.411, allocations: 0.9182 MB / 0.6043 GB, free: 4.273 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009789/2.412, allocations: 252.4 kB / 0.6046 GB, free: 4.023 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000326/2.412, allocations: 104.5 kB / 0.6047 GB, free: 3.922 MB / 458.7 MB Notification: Performance of SimCode: time 1.372e-06/2.412, allocations: 0 / 0.6047 GB, free: 3.922 MB / 458.7 MB Notification: Performance of Templates: time 0.2658/2.678, allocations: 77.27 MB / 0.6801 GB, free: 174.4 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.304397959029302]