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.5254/0.5254, allocations: 111.6 MB / 131.2 MB, free: 4.57 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.703e-06/1.703e-06, allocations: 0 / 176.2 MB, free: 9.152 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.793e-05/1.964e-05, allocations: 4.844 kB / 176.2 MB, free: 9.148 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.105/1.106, allocations: 258.6 MB / 434.8 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02155/1.127, allocations: 22.41 MB / 457.2 MB, free: 8.371 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003404/1.127, allocations: 8 kB / 457.2 MB, free: 8.363 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.0004153/1.128, allocations: 170.8 kB / 457.4 MB, free: 8.195 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004829/1.128, allocations: 333.7 kB / 457.7 MB, free: 7.867 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.01388/1.142, allocations: 7.286 MB / 465 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001039/1.143, allocations: 1.023 MB / 466 MB, free: 15.53 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003398/1.144, allocations: 253.4 kB / 466.2 MB, free: 15.27 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005583/1.144, allocations: 0.5767 MB / 466.8 MB, free: 14.7 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002619/1.144, allocations: 235.4 kB / 467.1 MB, free: 14.46 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.511e-05/1.144, allocations: 52 kB / 467.1 MB, free: 14.41 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1964/1.341, allocations: 14.47 MB / 481.6 MB, free: 14.97 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001969/1.341, allocations: 125.7 kB / 481.7 MB, free: 14.97 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004301/1.341, allocations: 246.7 kB / 481.9 MB, free: 14.97 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01563/1.357, allocations: 8.793 MB / 490.7 MB, free: 14.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.357, allocations: 0 / 490.7 MB, free: 14.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.352e-06/1.357, allocations: 0.5312 kB / 490.7 MB, free: 14.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.088e-05/1.357, allocations: 0 / 490.7 MB, free: 14.88 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.004722/1.362, allocations: 1.594 MB / 492.3 MB, free: 14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/1.362, allocations: 13.23 kB / 492.3 MB, free: 14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000238/1.362, allocations: 126.7 kB / 492.5 MB, free: 13.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/1.362, allocations: 274.5 kB / 492.7 MB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/1.363, allocations: 205.3 kB / 492.9 MB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/1.363, allocations: 44.41 kB / 493 MB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007238/1.363, allocations: 0.6152 MB / 493.6 MB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/1.363, allocations: 2.094 kB / 493.6 MB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.168e-05/1.363, allocations: 20.12 kB / 493.6 MB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.144e-05/1.363, allocations: 39.72 kB / 493.6 MB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004988/1.364, allocations: 306.9 kB / 493.9 MB, free: 13.36 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.03536/1.399, allocations: 22.36 MB / 0.5042 GB, free: 4.691 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005718/1.4, allocations: 323.9 kB / 0.5045 GB, free: 4.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/1.4, allocations: 166.5 kB / 0.5047 GB, free: 4.273 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03737/1.437, allocations: 21.24 MB / 0.5254 GB, free: 15.05 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/1.437, allocations: 44.95 kB / 0.5255 GB, free: 15 MB / 458.7 MB Notification: Performance of pre-optimization done (n=126): time 2.414e-06/1.437, allocations: 0 / 0.5255 GB, free: 15 MB / 458.7 MB Notification: Performance of matching and sorting (n=126): time 0.008068/1.445, allocations: 2.549 MB / 0.5279 GB, free: 12.46 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/1.446, allocations: 59.34 kB / 0.528 GB, free: 12.39 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/1.446, allocations: 304.1 kB / 0.5283 GB, free: 12.07 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/1.446, allocations: 29.7 kB / 0.5283 GB, free: 12.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/1.446, allocations: 287.5 kB / 0.5286 GB, free: 11.75 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/1.446, allocations: 434.2 kB / 0.529 GB, free: 11.34 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/1.446, allocations: 155.7 kB / 0.5292 GB, free: 11.18 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/1.446, allocations: 0.5391 MB / 0.5297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/1.447, allocations: 137.8 kB / 0.5298 GB, free: 10.49 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/1.447, allocations: 282.9 kB / 0.5301 GB, free: 10.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000503/1.447, allocations: 495.6 kB / 0.5306 GB, free: 9.664 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.447, allocations: 4.688 kB / 0.5306 GB, free: 9.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00183/1.449, allocations: 0.9128 MB / 0.5314 GB, free: 8.758 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/1.449, allocations: 14.08 kB / 0.5315 GB, free: 8.746 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/1.449, allocations: 0 / 0.5315 GB, free: 8.746 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001864/1.451, allocations: 1.278 MB / 0.5327 GB, free: 7.473 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.577e-05/1.451, allocations: 19.98 kB / 0.5327 GB, free: 7.453 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/1.453, allocations: 1.355 MB / 0.5341 GB, free: 6.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/1.453, allocations: 80.16 kB / 0.5341 GB, free: 5.992 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/1.453, allocations: 20 kB / 0.5341 GB, free: 5.973 MB / 458.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.0001448/1.453, allocations: 185.1 kB / 0.5343 GB, free: 5.785 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.968e-05/1.453, allocations: 67.62 kB / 0.5344 GB, free: 5.719 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00294/1.456, allocations: 4.115 MB / 0.5384 GB, free: 1.43 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001052/1.457, allocations: 0.8571 MB / 0.5392 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/1.457, allocations: 0 / 0.5392 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/1.457, allocations: 3.984 kB / 0.5392 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003537/1.461, allocations: 2.229 MB / 0.5414 GB, free: 14.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.461, allocations: 0 / 0.5414 GB, free: 14.35 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/1.461, allocations: 95.14 kB / 0.5415 GB, free: 14.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001059/1.462, allocations: 0.7247 MB / 0.5422 GB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.805e-05/1.462, allocations: 18.36 kB / 0.5422 GB, free: 13.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009609/1.463, allocations: 1.361 MB / 0.5436 GB, free: 12.13 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/1.463, allocations: 4 kB / 0.5436 GB, free: 12.13 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/1.465, allocations: 1.182 MB / 0.5447 GB, free: 10.93 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.442e-05/1.465, allocations: 80.56 kB / 0.5448 GB, free: 10.85 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.808e-05/1.465, allocations: 35.83 kB / 0.5448 GB, free: 10.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/1.465, allocations: 16 kB / 0.5449 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/1.465, allocations: 60.53 kB / 0.5449 GB, free: 10.74 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/1.465, allocations: 28.52 kB / 0.5449 GB, free: 10.71 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002242/1.465, allocations: 323 kB / 0.5452 GB, free: 10.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/1.465, allocations: 0 / 0.5452 GB, free: 10.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00296/1.468, allocations: 1.072 MB / 0.5463 GB, free: 9.324 MB / 474.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.003749/1.472, allocations: 1.339 MB / 0.5476 GB, free: 8.121 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00105/1.473, allocations: 0.848 MB / 0.5484 GB, free: 7.25 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.473, allocations: 4.5 kB / 0.5484 GB, free: 7.246 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004299/1.474, allocations: 376.8 kB / 0.5488 GB, free: 6.879 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/1.475, allocations: 437.8 kB / 0.5492 GB, free: 6.477 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/1.477, allocations: 1.434 MB / 0.5506 GB, free: 5.02 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/1.477, allocations: 184.9 kB / 0.5508 GB, free: 4.82 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001701/1.477, allocations: 53.36 kB / 0.5508 GB, free: 4.77 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.043e-05/1.477, allocations: 40.5 kB / 0.5509 GB, free: 4.73 MB / 474.7 MB Notification: Performance of SimCode: time 1.243e-06/1.477, allocations: 0 / 0.5509 GB, free: 4.73 MB / 474.7 MB Notification: Performance of Templates: time 0.04654/1.524, allocations: 47.52 MB / 0.5973 GB, free: 5.758 MB / 0.5105 GB " [Timeout remaining time 658] 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: 5.489917560014874]