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.4693/0.4693, allocations: 111.6 MB / 131.5 MB, free: 4.402 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.984e-06/1.984e-06, allocations: 0 / 176.6 MB, free: 8.863 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.399e-05, allocations: 2.312 kB / 176.6 MB, free: 8.859 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: 264.4 MB / 441.1 MB, free: 13.1 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01953/1.06, allocations: 22.48 MB / 463.5 MB, free: 6.543 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/1.06, allocations: 8 kB / 463.5 MB, free: 6.535 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.000398/1.061, allocations: 198.6 kB / 463.7 MB, free: 6.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005038/1.061, allocations: 441.2 kB / 464.2 MB, free: 5.906 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.01176/1.073, allocations: 7.383 MB / 471.6 MB, free: 14.5 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001766/1.075, allocations: 2.614 MB / 474.2 MB, free: 11.88 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006748/1.075, allocations: 0.6508 MB / 474.8 MB, free: 11.2 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/1.076, allocations: 1.259 MB / 476.1 MB, free: 9.941 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007954/1.077, allocations: 0.764 MB / 476.8 MB, free: 9.176 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000145/1.077, allocations: 120 kB / 477 MB, free: 9.059 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1872/1.264, allocations: 14.54 MB / 491.5 MB, free: 13.55 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005989/1.265, allocations: 0.4954 MB / 492 MB, free: 13.55 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00109/1.266, allocations: 0.5407 MB / 492.5 MB, free: 13.55 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01466/1.281, allocations: 9.626 MB / 0.4904 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/1.281, allocations: 0 / 0.4904 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.302e-06/1.281, allocations: 0.8125 kB / 0.4904 GB, free: 13.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.088e-05/1.281, allocations: 0 / 0.4904 GB, free: 13.36 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.005448/1.286, allocations: 2.15 MB / 0.4925 GB, free: 12.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/1.286, allocations: 13.73 kB / 0.4925 GB, free: 12.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/1.287, allocations: 159.2 kB / 0.4927 GB, free: 12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/1.287, allocations: 428.4 kB / 0.4931 GB, free: 11.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.12e-05/1.287, allocations: 94.12 kB / 0.4932 GB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/1.287, allocations: 105.5 kB / 0.4933 GB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/1.288, allocations: 1.147 MB / 0.4944 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/1.288, allocations: 6.656 kB / 0.4944 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.161e-05/1.288, allocations: 41.81 kB / 0.4944 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/1.288, allocations: 74.94 kB / 0.4945 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006286/1.289, allocations: 0.5229 MB / 0.495 GB, free: 10.76 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.02974/1.319, allocations: 19.79 MB / 0.5143 GB, free: 13.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007113/1.319, allocations: 0.6973 MB / 0.515 GB, free: 12.39 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003591/1.32, allocations: 302.7 kB / 0.5153 GB, free: 12.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03288/1.353, allocations: 18.91 MB / 0.5338 GB, free: 9.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/1.353, allocations: 48.84 kB / 0.5338 GB, free: 9.176 MB / 458.7 MB Notification: Performance of pre-optimization done (n=292): time 3.236e-06/1.353, allocations: 4 kB / 0.5338 GB, free: 9.172 MB / 458.7 MB Notification: Performance of matching and sorting (n=292): time 0.01109/1.364, allocations: 3.982 MB / 0.5377 GB, free: 5.234 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/1.364, allocations: 68.72 kB / 0.5378 GB, free: 5.152 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/1.364, allocations: 239 kB / 0.538 GB, free: 4.934 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.335e-05/1.364, allocations: 45.7 kB / 0.538 GB, free: 4.883 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/1.364, allocations: 291.8 kB / 0.5383 GB, free: 4.605 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004695/1.365, allocations: 0.9879 MB / 0.5393 GB, free: 3.676 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000322/1.365, allocations: 306.2 kB / 0.5396 GB, free: 3.426 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.166e-05/1.365, allocations: 325 kB / 0.5399 GB, free: 3.109 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/1.365, allocations: 283.2 kB / 0.5402 GB, free: 2.832 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/1.366, allocations: 435.5 kB / 0.5406 GB, free: 2.426 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/1.367, allocations: 0.9735 MB / 0.5415 GB, free: 1.453 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/1.367, allocations: 7.938 kB / 0.5415 GB, free: 1.445 MB / 458.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.001776/1.369, allocations: 1.381 MB / 0.5429 GB, free: 80 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/1.369, allocations: 8 kB / 0.5429 GB, free: 72 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/1.369, allocations: 0 / 0.5429 GB, free: 72 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006902/1.376, allocations: 3.86 MB / 0.5467 GB, free: 12.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.229e-05/1.376, allocations: 31.08 kB / 0.5467 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0026/1.378, allocations: 1.993 MB / 0.5486 GB, free: 10.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005512/1.379, allocations: 166.6 kB / 0.5488 GB, free: 10.13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-05/1.379, allocations: 39.95 kB / 0.5488 GB, free: 10.09 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 (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.0003267/1.379, allocations: 163.6 kB / 0.549 GB, free: 9.926 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/1.379, allocations: 88.58 kB / 0.5491 GB, free: 9.84 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005004/1.384, allocations: 8.401 MB / 0.5573 GB, free: 3.898 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00162/1.386, allocations: 1.584 MB / 0.5588 GB, free: 2.316 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.386, allocations: 7.938 kB / 0.5588 GB, free: 2.309 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/1.386, allocations: 11.95 kB / 0.5588 GB, free: 2.297 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006565/1.393, allocations: 4.296 MB / 0.563 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-06/1.393, allocations: 0 / 0.563 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/1.394, allocations: 345.7 kB / 0.5634 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002103/1.396, allocations: 1.436 MB / 0.5648 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002042/1.396, allocations: 63.94 kB / 0.5648 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002939/1.399, allocations: 4.565 MB / 0.5693 GB, free: 7.723 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/1.399, allocations: 4.031 kB / 0.5693 GB, free: 7.719 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003708/1.403, allocations: 2.686 MB / 0.5719 GB, free: 5.074 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/1.403, allocations: 183.5 kB / 0.5721 GB, free: 4.895 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/1.403, allocations: 60.72 kB / 0.5721 GB, free: 4.836 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003952/1.404, allocations: 59.98 kB / 0.5722 GB, free: 4.777 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/1.404, allocations: 169.8 kB / 0.5724 GB, free: 4.609 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.123e-05/1.404, allocations: 63.94 kB / 0.5724 GB, free: 4.547 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001178/1.404, allocations: 163.3 kB / 0.5726 GB, free: 4.402 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/1.404, allocations: 0 / 0.5726 GB, free: 4.402 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003811/1.408, allocations: 1.388 MB / 0.5739 GB, free: 3.012 MB / 490.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.002551/1.41, allocations: 1.462 MB / 0.5754 GB, free: 1.695 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002687/1.413, allocations: 2.247 MB / 0.5776 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.413, allocations: 4 kB / 0.5776 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001354/1.414, allocations: 1.228 MB / 0.5788 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/1.416, allocations: 0.8862 MB / 0.5796 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004443/1.421, allocations: 3.925 MB / 0.5835 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/1.421, allocations: 459.4 kB / 0.5839 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003661/1.421, allocations: 147 kB / 0.584 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/1.422, allocations: 0.499 MB / 0.5845 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/1.422, allocations: 0 / 0.5845 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of Templates: time 0.0783/1.501, allocations: 86.04 MB / 0.6685 GB, free: 3.137 MB / 0.573 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.527091653086245]