Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.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.4911/0.4911, allocations: 111.6 MB / 131.2 MB, free: 4.566 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.TestStaticWaterWaterExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.206e-06/3.206e-06, allocations: 0 / 176.2 MB, free: 9.141 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.156e-05/3.477e-05, allocations: 4.703 kB / 176.2 MB, free: 9.137 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.TestStaticWaterWaterExchangerDTorWorEff): time 1.062/1.062, allocations: 258.3 MB / 434.5 MB, free: 15.1 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02224/1.084, allocations: 23.18 MB / 457.7 MB, free: 7.832 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002892/1.084, allocations: 4 kB / 457.7 MB, free: 7.828 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceQ.mo:13:3-14: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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceQ.mo:13:3-14: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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:36:3-37:78: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/StaticWaterWaterExchangerDTorWorEff.mo:38:3-39: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/StaticWaterWaterExchangerDTorWorEff.mo:40:3-41:77: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/StaticWaterWaterExchangerDTorWorEff.mo:42:3-43:76:writable] Warning: Connector Sc 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.0004896/1.085, allocations: 222.7 kB / 457.9 MB, free: 7.609 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004174/1.085, allocations: 294 kB / 458.2 MB, free: 7.32 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.01451/1.1, allocations: 7.684 MB / 465.9 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008495/1.101, allocations: 0.8484 MB / 466.7 MB, free: 14.76 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/1.101, allocations: 201.4 kB / 466.9 MB, free: 14.55 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005314/1.101, allocations: 490.8 kB / 467.4 MB, free: 14.07 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/1.102, allocations: 183.5 kB / 467.6 MB, free: 13.89 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/1.102, allocations: 40 kB / 467.6 MB, free: 13.86 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2089/1.311, allocations: 16.07 MB / 483.7 MB, free: 14.89 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/1.311, allocations: 104.8 kB / 483.8 MB, free: 14.89 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004008/1.311, allocations: 193 kB / 484 MB, free: 14.89 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01653/1.328, allocations: 9.244 MB / 493.2 MB, free: 14.81 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.064e-05/1.328, allocations: 4 kB / 493.2 MB, free: 14.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.733e-06/1.328, allocations: 1.5 kB / 493.2 MB, free: 14.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.86e-05/1.328, allocations: 0 / 493.2 MB, free: 14.81 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004542/1.332, allocations: 1.502 MB / 494.7 MB, free: 13.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/1.332, allocations: 18.42 kB / 494.7 MB, free: 13.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/1.332, allocations: 98.41 kB / 494.8 MB, free: 13.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/1.333, allocations: 254.3 kB / 495.1 MB, free: 13.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/1.333, allocations: 112.8 kB / 495.2 MB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/1.333, allocations: 35.69 kB / 495.2 MB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005352/1.333, allocations: 497.2 kB / 495.7 MB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/1.333, allocations: 5.156 kB / 495.7 MB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/1.333, allocations: 23.09 kB / 495.7 MB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/1.334, allocations: 35.23 kB / 495.8 MB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003234/1.334, allocations: 224 kB / 496 MB, free: 13.44 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.01896/1.353, allocations: 12.23 MB / 0.4963 GB, free: 9.891 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/1.353, allocations: 177.7 kB / 0.4965 GB, free: 9.816 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/1.353, allocations: 114.2 kB / 0.4966 GB, free: 9.777 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04288/1.396, allocations: 26 MB / 0.522 GB, free: 2.184 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/1.396, allocations: 37.73 kB / 0.522 GB, free: 2.141 MB / 442.7 MB Notification: Performance of pre-optimization done (n=103): time 2.154e-06/1.396, allocations: 0 / 0.522 GB, free: 2.141 MB / 442.7 MB Notification: Performance of matching and sorting (n=103): time 0.002258/1.398, allocations: 1.027 MB / 0.523 GB, free: 1.109 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/1.398, allocations: 51.41 kB / 0.5231 GB, free: 1.047 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/1.399, allocations: 278.5 kB / 0.5233 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/1.399, allocations: 29.7 kB / 0.5234 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/1.399, allocations: 263.3 kB / 0.5236 GB, free: 468 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/1.399, allocations: 348 kB / 0.5239 GB, free: 124 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/1.399, allocations: 115.3 kB / 0.524 GB, free: 0 / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/1.399, allocations: 0.5391 MB / 0.5246 GB, free: 15.45 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/1.399, allocations: 92.95 kB / 0.5247 GB, free: 15.36 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/1.4, allocations: 234.5 kB / 0.5249 GB, free: 15.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/1.4, allocations: 389.3 kB / 0.5253 GB, free: 14.68 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/1.4, allocations: 0 / 0.5253 GB, free: 14.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.0006166/1.401, allocations: 0.5398 MB / 0.5258 GB, free: 14.14 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/1.401, allocations: 4.281 kB / 0.5258 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.401, allocations: 8 kB / 0.5258 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009907/1.402, allocations: 0.6036 MB / 0.5264 GB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.008e-05/1.402, allocations: 8 kB / 0.5264 GB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/1.403, allocations: 1.148 MB / 0.5275 GB, free: 12.35 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/1.403, allocations: 59.45 kB / 0.5276 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/1.403, allocations: 12 kB / 0.5276 GB, free: 12.28 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 (exchangerWaterSteamDTorWorEFF.Sc.b,exchangerWaterSteamDTorWorEFF.Sf.b,exchangerWaterSteamDTorWorEFF.Ef.a,exchangerWaterSteamDTorWorEFF.Ec.a,sinkWaterSteam_FC.C.a,sourceWaterSteam_FC.C.b,sinkWaterSteam_FF.C.a,sourceWaterSteam_FF.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(5,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001272/1.403, allocations: 171.7 kB / 0.5277 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/1.403, allocations: 48.92 kB / 0.5278 GB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/1.404, allocations: 1.83 MB / 0.5296 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006648/1.405, allocations: 0.6785 MB / 0.5302 GB, free: 9.457 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.405, allocations: 3.938 kB / 0.5302 GB, free: 9.453 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/1.405, allocations: 3.984 kB / 0.5303 GB, free: 9.449 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/1.407, allocations: 1.805 MB / 0.532 GB, free: 7.648 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.407, allocations: 0 / 0.532 GB, free: 7.648 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/1.407, allocations: 103.5 kB / 0.5321 GB, free: 7.555 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003729/1.407, allocations: 403.3 kB / 0.5325 GB, free: 7.16 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/1.407, allocations: 12 kB / 0.5325 GB, free: 7.148 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007247/1.408, allocations: 1.135 MB / 0.5336 GB, free: 5.98 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.408, allocations: 3.375 kB / 0.5336 GB, free: 5.98 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008923/1.409, allocations: 0.9019 MB / 0.5345 GB, free: 5.055 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/1.409, allocations: 111.2 kB / 0.5346 GB, free: 4.945 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/1.409, allocations: 23.42 kB / 0.5346 GB, free: 4.926 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/1.409, allocations: 19.94 kB / 0.5346 GB, free: 4.906 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/1.409, allocations: 53.58 kB / 0.5347 GB, free: 4.855 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/1.409, allocations: 16 kB / 0.5347 GB, free: 4.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001475/1.41, allocations: 252.8 kB / 0.535 GB, free: 4.594 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/1.41, allocations: 0 / 0.535 GB, free: 4.594 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002785/1.412, allocations: 0.998 MB / 0.5359 GB, free: 3.594 MB / 458.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 (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(5,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003863/1.416, allocations: 1.286 MB / 0.5372 GB, free: 2.445 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001253/1.417, allocations: 0.7551 MB / 0.5379 GB, free: 1.668 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.417, allocations: 0 / 0.5379 GB, free: 1.668 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004657/1.418, allocations: 349.5 kB / 0.5383 GB, free: 1.336 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/1.419, allocations: 386.6 kB / 0.5386 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/1.421, allocations: 1.276 MB / 0.5399 GB, free: 15.69 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/1.421, allocations: 188.4 kB / 0.5401 GB, free: 15.48 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001251/1.421, allocations: 47.88 kB / 0.5401 GB, free: 15.44 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.676e-05/1.421, allocations: 44.5 kB / 0.5401 GB, free: 15.39 MB / 474.7 MB Notification: Performance of SimCode: time 1.503e-06/1.421, allocations: 5.422 kB / 0.5401 GB, free: 15.39 MB / 474.7 MB Notification: Performance of Templates: time 0.0467/1.468, allocations: 51.67 MB / 0.5906 GB, free: 12.2 MB / 0.5105 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.821232938207686]