Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.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.824/0.824, 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.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 175.7 MB, free: 9.43 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.625e-05, allocations: 8.438 kB / 175.7 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.TestStaticWaterWaterExchanger): time 1.743/1.743, allocations: 256.2 MB / 432 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03555/1.778, allocations: 22.31 MB / 454.3 MB, free: 8.699 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000359/1.778, allocations: 4 kB / 454.3 MB, free: 8.695 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:54:3-55: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/StaticWaterWaterExchanger.mo:56:3-57: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/StaticWaterWaterExchanger.mo:58:3-59: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/StaticWaterWaterExchanger.mo:60:3-61:77: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.000553/1.779, allocations: 166.8 kB / 454.4 MB, free: 8.531 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006761/1.78, allocations: 337.7 kB / 454.8 MB, free: 8.199 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.02006/1.8, allocations: 7.293 MB / 462.1 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001749/1.801, allocations: 1.023 MB / 463.1 MB, free: 15.85 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004129/1.802, allocations: 249.4 kB / 463.3 MB, free: 15.6 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007676/1.803, allocations: 0.5651 MB / 463.9 MB, free: 15.04 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003949/1.803, allocations: 247.3 kB / 464.1 MB, free: 14.79 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.947e-05/1.803, allocations: 52 kB / 464.2 MB, free: 14.74 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02793/1.831, allocations: 14.48 MB / 478.7 MB, free: 252 kB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002318/1.831, allocations: 135.4 kB / 478.8 MB, free: 116 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005306/1.832, allocations: 243.4 kB / 479 MB, free: 15.88 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01863/1.85, allocations: 9.011 MB / 488 MB, free: 6.84 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.85, allocations: 0 / 488 MB, free: 6.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.603e-06/1.85, allocations: 0 / 488 MB, free: 6.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.177e-06/1.85, allocations: 0 / 488 MB, free: 6.84 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.004338/1.855, allocations: 1.637 MB / 489.7 MB, free: 5.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/1.855, allocations: 15.98 kB / 489.7 MB, free: 5.145 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000286/1.855, allocations: 120.4 kB / 489.8 MB, free: 5.027 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/1.856, allocations: 279.5 kB / 490.1 MB, free: 4.727 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002437/1.856, allocations: 195.8 kB / 490.3 MB, free: 4.496 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.892e-05/1.856, allocations: 51.94 kB / 490.3 MB, free: 4.445 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/1.857, allocations: 0.7023 MB / 491 MB, free: 3.684 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/1.857, allocations: 11.94 kB / 491 MB, free: 3.672 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.275e-05/1.857, allocations: 23.98 kB / 491.1 MB, free: 3.648 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002716/1.858, allocations: 35.97 kB / 491.1 MB, free: 3.613 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/1.859, allocations: 432.7 kB / 491.5 MB, free: 3.188 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.2094/2.068, allocations: 22.6 MB / 0.5021 GB, free: 93.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/2.069, allocations: 409.2 kB / 0.5025 GB, free: 93.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003835/2.069, allocations: 221.6 kB / 0.5027 GB, free: 92.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06873/2.138, allocations: 21.25 MB / 0.5234 GB, free: 71.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/2.138, allocations: 37.39 kB / 0.5235 GB, free: 71.81 MB / 442.7 MB Notification: Performance of pre-optimization done (n=126): time 2.355e-06/2.138, allocations: 8 kB / 0.5235 GB, free: 71.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.01598/2.154, allocations: 2.798 MB / 0.5262 GB, free: 69.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/2.154, allocations: 65.25 kB / 0.5263 GB, free: 68.97 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/2.154, allocations: 344.2 kB / 0.5266 GB, free: 68.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/2.154, allocations: 29.7 kB / 0.5266 GB, free: 68.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.687e-05/2.154, allocations: 300.1 kB / 0.5269 GB, free: 68.29 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/2.155, allocations: 448.9 kB / 0.5273 GB, free: 67.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/2.155, allocations: 179.8 kB / 0.5275 GB, free: 67.67 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/2.155, allocations: 0.5665 MB / 0.5281 GB, free: 67.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004079/2.155, allocations: 209.7 kB / 0.5283 GB, free: 66.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004611/2.156, allocations: 374.9 kB / 0.5286 GB, free: 66.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009292/2.157, allocations: 0.6951 MB / 0.5293 GB, free: 65.76 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/2.157, allocations: 0 / 0.5293 GB, free: 65.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003691/2.16, allocations: 1.132 MB / 0.5304 GB, free: 64.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/2.16, allocations: 4 kB / 0.5304 GB, free: 64.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/2.16, allocations: 4 kB / 0.5304 GB, free: 64.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003121/2.164, allocations: 1.365 MB / 0.5317 GB, free: 63.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.283e-05/2.164, allocations: 16 kB / 0.5318 GB, free: 63.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/2.165, allocations: 1.657 MB / 0.5334 GB, free: 61.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/2.166, allocations: 76.44 kB / 0.5335 GB, free: 61.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/2.166, allocations: 27.92 kB / 0.5335 GB, free: 61.44 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 (puitsP3.C.a,puitsP2.C.a,sourceP3.C.b,sourceP2.C.b,plateHeatExchanger.Sc.b,plateHeatExchanger.Sf.b,plateHeatExchanger.Ef.a,plateHeatExchanger.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(6,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0002065/2.166, allocations: 224.5 kB / 0.5337 GB, free: 61.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/2.166, allocations: 59.62 kB / 0.5338 GB, free: 61.15 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00364/2.17, allocations: 4.836 MB / 0.5385 GB, free: 56.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001902/2.172, allocations: 1.046 MB / 0.5395 GB, free: 55.08 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/2.172, allocations: 0 / 0.5395 GB, free: 55.08 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/2.172, allocations: 9 kB / 0.5395 GB, free: 55.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005693/2.177, allocations: 2.659 MB / 0.5421 GB, free: 52.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/2.177, allocations: 9.438 kB / 0.5421 GB, free: 52.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/2.178, allocations: 91.84 kB / 0.5422 GB, free: 52.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00196/2.18, allocations: 0.7869 MB / 0.543 GB, free: 51.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.797e-05/2.18, allocations: 16 kB / 0.543 GB, free: 51.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/2.181, allocations: 1.532 MB / 0.5445 GB, free: 49.92 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/2.181, allocations: 4 kB / 0.5445 GB, free: 49.92 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004066/2.185, allocations: 1.378 MB / 0.5458 GB, free: 48.51 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/2.185, allocations: 75.27 kB / 0.5459 GB, free: 48.44 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/2.186, allocations: 37.25 kB / 0.5459 GB, free: 48.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/2.186, allocations: 20 kB / 0.546 GB, free: 48.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/2.186, allocations: 65.98 kB / 0.546 GB, free: 48.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/2.186, allocations: 20 kB / 0.546 GB, free: 48.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002893/2.186, allocations: 391 kB / 0.5464 GB, free: 47.92 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.1e-08/2.186, allocations: 0 / 0.5464 GB, free: 47.92 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002311/2.189, allocations: 1.072 MB / 0.5475 GB, free: 46.84 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(6,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004319/2.193, allocations: 1.337 MB / 0.5488 GB, free: 45.63 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001591/2.195, allocations: 1.014 MB / 0.5498 GB, free: 44.58 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/2.195, allocations: 0 / 0.5498 GB, free: 44.58 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008129/2.195, allocations: 466.6 kB / 0.5502 GB, free: 44.13 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/2.197, allocations: 425.3 kB / 0.5506 GB, free: 43.75 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/2.2, allocations: 1.514 MB / 0.5521 GB, free: 42.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/2.2, allocations: 404.6 kB / 0.5525 GB, free: 41.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000245/2.2, allocations: 57.34 kB / 0.5525 GB, free: 41.72 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.212e-05/2.2, allocations: 52.48 kB / 0.5526 GB, free: 41.67 MB / 442.7 MB Notification: Performance of SimCode: time 7.71e-07/2.2, allocations: 0 / 0.5526 GB, free: 41.67 MB / 442.7 MB Notification: Performance of Templates: time 0.05732/2.257, allocations: 47.52 MB / 0.599 GB, free: 10.59 MB / 458.7 MB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.695371059933677]