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.4585/0.4585, allocations: 111.6 MB / 131.4 MB, free: 4.957 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.583e-06/1.583e-06, allocations: 0 / 176.5 MB, free: 8.984 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124e-05/1.282e-05, allocations: 2.312 kB / 176.5 MB, free: 8.98 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.144/1.144, allocations: 258.6 MB / 435.2 MB, free: 10.3 MB / 394.9 MB Notification: Performance of NFInst.instExpressions: time 0.01852/1.162, allocations: 22.18 MB / 457.4 MB, free: 4.043 MB / 410.9 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002252/1.163, allocations: 4 kB / 457.4 MB, free: 4.039 MB / 410.9 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.0004136/1.163, allocations: 198.7 kB / 457.5 MB, free: 3.844 MB / 410.9 MB Notification: Performance of NFTyping.typeBindings: time 0.0004965/1.164, allocations: 437.2 kB / 458 MB, free: 3.414 MB / 410.9 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.01159/1.175, allocations: 7.352 MB / 465.3 MB, free: 12.04 MB / 426.9 MB Notification: Performance of NFFlatten.flatten: time 0.001616/1.177, allocations: 2.614 MB / 467.9 MB, free: 9.414 MB / 426.9 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004493/1.177, allocations: 0.6462 MB / 468.6 MB, free: 8.754 MB / 426.9 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008234/1.178, allocations: 1.248 MB / 469.8 MB, free: 7.504 MB / 426.9 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006396/1.179, allocations: 0.7913 MB / 470.6 MB, free: 6.711 MB / 426.9 MB Notification: Performance of NFPackage.collectConstants: time 0.0001279/1.179, allocations: 120 kB / 470.7 MB, free: 6.594 MB / 426.9 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01461/1.193, allocations: 14.54 MB / 485.3 MB, free: 8.027 MB / 442.9 MB Notification: Performance of NFScalarize.scalarize: time 0.0004081/1.194, allocations: 498.7 kB / 485.8 MB, free: 7.539 MB / 442.9 MB Notification: Performance of NFVerifyModel.verify: time 0.0003766/1.194, allocations: 0.5379 MB / 486.3 MB, free: 7 MB / 442.9 MB Notification: Performance of NFConvertDAE.convert: time 0.1804/1.375, allocations: 9.629 MB / 495.9 MB, free: 26.68 MB / 442.9 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.375, allocations: 0.5312 kB / 495.9 MB, free: 26.68 MB / 442.9 MB Notification: Performance of FrontEnd: time 1.052e-06/1.375, allocations: 0 / 495.9 MB, free: 26.68 MB / 442.9 MB Notification: Performance of Transformations before backend: time 3.921e-05/1.375, allocations: 0.6875 kB / 495.9 MB, free: 26.68 MB / 442.9 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.005986/1.381, allocations: 2.344 MB / 498.3 MB, free: 25.59 MB / 442.9 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/1.381, allocations: 15.09 kB / 498.3 MB, free: 25.59 MB / 442.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003705/1.381, allocations: 219.4 kB / 498.5 MB, free: 25.51 MB / 442.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005331/1.382, allocations: 467.8 kB / 499 MB, free: 25.3 MB / 442.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.282e-05/1.382, allocations: 94.59 kB / 499.1 MB, free: 25.3 MB / 442.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/1.382, allocations: 102.3 kB / 499.2 MB, free: 25.3 MB / 442.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/1.383, allocations: 1.176 MB / 0.4886 GB, free: 25.04 MB / 442.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/1.383, allocations: 1.312 kB / 0.4886 GB, free: 25.04 MB / 442.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.132e-05/1.383, allocations: 41.62 kB / 0.4887 GB, free: 25.04 MB / 442.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.932e-05/1.383, allocations: 70.95 kB / 0.4887 GB, free: 25.04 MB / 442.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008493/1.384, allocations: 0.5724 MB / 0.4893 GB, free: 25.02 MB / 442.9 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.02979/1.414, allocations: 20.95 MB / 0.5097 GB, free: 20.61 MB / 442.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006374/1.415, allocations: 0.7093 MB / 0.5104 GB, free: 20.1 MB / 442.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003474/1.415, allocations: 368.9 kB / 0.5108 GB, free: 19.82 MB / 442.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02695/1.442, allocations: 18.44 MB / 0.5288 GB, free: 3.328 MB / 442.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/1.442, allocations: 52.77 kB / 0.5288 GB, free: 3.277 MB / 442.9 MB Notification: Performance of pre-optimization done (n=292): time 3.136e-06/1.442, allocations: 4 kB / 0.5288 GB, free: 3.273 MB / 442.9 MB Notification: Performance of matching and sorting (n=292): time 0.01131/1.453, allocations: 4.467 MB / 0.5332 GB, free: 15.01 MB / 458.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/1.453, allocations: 64.72 kB / 0.5333 GB, free: 14.93 MB / 458.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/1.454, allocations: 296.7 kB / 0.5336 GB, free: 14.66 MB / 458.9 MB Notification: Performance of collectPreVariables (initialization): time 8.665e-05/1.454, allocations: 48.58 kB / 0.5336 GB, free: 14.62 MB / 458.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/1.454, allocations: 346.8 kB / 0.5339 GB, free: 14.32 MB / 458.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005103/1.454, allocations: 1.036 MB / 0.5349 GB, free: 13.44 MB / 458.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003684/1.455, allocations: 374.2 kB / 0.5353 GB, free: 13.2 MB / 458.9 MB Notification: Performance of setup shared object (initialization): time 0.0001021/1.455, allocations: 0.4919 MB / 0.5358 GB, free: 12.7 MB / 458.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004013/1.455, allocations: 307 kB / 0.5361 GB, free: 12.41 MB / 458.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005343/1.456, allocations: 0.569 MB / 0.5366 GB, free: 11.88 MB / 458.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/1.457, allocations: 1.076 MB / 0.5377 GB, free: 10.83 MB / 458.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/1.457, allocations: 4 kB / 0.5377 GB, free: 10.82 MB / 458.9 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.002159/1.459, allocations: 1.764 MB / 0.5394 GB, free: 9.07 MB / 458.9 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/1.459, allocations: 4 kB / 0.5394 GB, free: 9.066 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.459, allocations: 7.984 kB / 0.5394 GB, free: 9.059 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007161/1.466, allocations: 3.984 MB / 0.5433 GB, free: 5.125 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.337e-05/1.466, allocations: 34.8 kB / 0.5433 GB, free: 5.094 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002914/1.469, allocations: 2.558 MB / 0.5458 GB, free: 2.566 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005357/1.47, allocations: 166.5 kB / 0.546 GB, free: 2.402 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.373e-05/1.47, allocations: 58.58 kB / 0.5461 GB, free: 2.348 MB / 458.9 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 (echangeurAPlaques1D.Ec.a,echangeurAPlaques1D.Ef.a,echangeurAPlaques1D.Sf.b,echangeurAPlaques1D.Sc.b,sourceP.C.b,sourceP1.C.b,puitsP.C.a,puitsP1.C.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.000274/1.47, allocations: 215 kB / 0.5463 GB, free: 2.133 MB / 458.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/1.47, allocations: 139.3 kB / 0.5464 GB, free: 1.996 MB / 458.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007784/1.478, allocations: 11.27 MB / 0.5574 GB, free: 9.039 MB / 474.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002126/1.48, allocations: 1.988 MB / 0.5593 GB, free: 7.043 MB / 474.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/1.48, allocations: 5.938 kB / 0.5593 GB, free: 7.039 MB / 474.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/1.48, allocations: 11.95 kB / 0.5594 GB, free: 7.027 MB / 474.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006229/1.486, allocations: 4.905 MB / 0.5641 GB, free: 2.355 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/1.486, allocations: 1.531 kB / 0.5641 GB, free: 2.355 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006517/1.487, allocations: 348.9 kB / 0.5645 GB, free: 2.031 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001856/1.489, allocations: 1.478 MB / 0.5659 GB, free: 0.5859 MB / 474.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/1.489, allocations: 72.81 kB / 0.566 GB, free: 0.5156 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003275/1.492, allocations: 6.348 MB / 0.5722 GB, free: 9.969 MB / 490.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.492, allocations: 4.031 kB / 0.5722 GB, free: 9.965 MB / 490.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004068/1.496, allocations: 3.118 MB / 0.5752 GB, free: 6.883 MB / 490.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/1.497, allocations: 194.2 kB / 0.5754 GB, free: 6.691 MB / 490.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/1.497, allocations: 64.09 kB / 0.5755 GB, free: 6.629 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004026/1.497, allocations: 55.98 kB / 0.5755 GB, free: 6.574 MB / 490.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/1.497, allocations: 181.8 kB / 0.5757 GB, free: 6.395 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.178e-05/1.497, allocations: 67.94 kB / 0.5758 GB, free: 6.328 MB / 490.9 MB Notification: Performance of sorting global known variables: time 0.00016/1.497, allocations: 293.5 kB / 0.5761 GB, free: 6.055 MB / 490.9 MB Notification: Performance of sort global known variables: time 1e-07/1.497, allocations: 1.859 kB / 0.5761 GB, free: 6.055 MB / 490.9 MB Notification: Performance of remove unused functions: time 0.003301/1.501, allocations: 1.384 MB / 0.5774 GB, free: 4.668 MB / 490.9 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.002805/1.504, allocations: 1.43 MB / 0.5788 GB, free: 3.371 MB / 490.9 MB Notification: Performance of simCode: created initialization part: time 0.002544/1.506, allocations: 2.446 MB / 0.5812 GB, free: 0.7656 MB / 490.9 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.506, allocations: 0 / 0.5812 GB, free: 0.7656 MB / 490.9 MB Notification: Performance of simCode: created simulation system equations: time 0.001503/1.508, allocations: 1.468 MB / 0.5826 GB, free: 15.32 MB / 0.495 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/1.509, allocations: 0.8934 MB / 0.5835 GB, free: 14.45 MB / 0.495 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004783/1.514, allocations: 4.114 MB / 0.5875 GB, free: 10.35 MB / 0.495 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/1.515, allocations: 471.3 kB / 0.588 GB, free: 9.859 MB / 0.495 GB Notification: Performance of simCode: alias equations: time 0.0003972/1.515, allocations: 156.6 kB / 0.5881 GB, free: 9.703 MB / 0.495 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008378/1.516, allocations: 0.5915 MB / 0.5887 GB, free: 9.109 MB / 0.495 GB Notification: Performance of SimCode: time 5.11e-07/1.516, allocations: 0 / 0.5887 GB, free: 9.109 MB / 0.495 GB Notification: Performance of Templates: time 0.07771/1.594, allocations: 86.84 MB / 0.6735 GB, free: 3.215 MB / 0.5731 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.209719410166144]