Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 107.2 kB / 17.74 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001288, allocations: 184.1 kB / 18.67 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2833/0.2833, allocations: 48.85 MB / 320.7 MB, free: 11.02 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 71.89 kB / 451.2 MB, free: 8.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1224, allocations: 59.16 MB / 0.4984 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.3895/0.512, allocations: 50.95 MB / 0.5481 GB, free: 4.699 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02214/0.5342, allocations: 17.12 MB / 0.5649 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000607/0.5349, allocations: 9.344 kB / 0.5649 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009176/0.5358, allocations: 257.5 kB / 0.5651 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007188/0.543, allocations: 2.368 MB / 0.5674 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01137/0.5544, allocations: 3.245 MB / 0.5706 GB, free: 7.281 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001781/0.5562, allocations: 0.8543 MB / 0.5714 GB, free: 6.812 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005543/0.5568, allocations: 303.9 kB / 0.5717 GB, free: 6.637 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006164/0.5574, allocations: 344.2 kB / 0.5721 GB, free: 6.461 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005478/0.558, allocations: 368.8 kB / 0.5724 GB, free: 6.266 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.82e-05/0.558, allocations: 32.03 kB / 0.5724 GB, free: 6.266 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01845/0.5765, allocations: 7.526 MB / 0.5798 GB, free: 2.348 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002596/0.5768, allocations: 94.8 kB / 0.5799 GB, free: 2.277 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006549/0.5775, allocations: 256.9 kB / 0.5801 GB, free: 2.121 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01543/0.5929, allocations: 4.603 MB / 0.5846 GB, free: 15.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.593, allocations: 0 / 0.5846 GB, free: 15.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.593, allocations: 0 / 0.5846 GB, free: 15.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.593, allocations: 0 / 0.5846 GB, free: 15.24 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004112/0.5971, allocations: 1.368 MB / 0.586 GB, free: 14.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.5972, allocations: 14.73 kB / 0.586 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.5982, allocations: 153 kB / 0.5861 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006653/0.5989, allocations: 354.8 kB / 0.5865 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.441e-05/0.599, allocations: 30.59 kB / 0.5865 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.606e-05/0.599, allocations: 39.5 kB / 0.5865 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009301/0.6, allocations: 486.4 kB / 0.587 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.6, allocations: 0 / 0.587 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.951e-05/0.6001, allocations: 13.31 kB / 0.587 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.6001, allocations: 8.438 kB / 0.587 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000715/0.6008, allocations: 309.8 kB / 0.5873 GB, free: 13.3 MB / 446.1 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.002749/0.6036, allocations: 2.503 MB / 0.5897 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006311/0.6042, allocations: 290.5 kB / 0.59 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.6044, allocations: 147.2 kB / 0.5902 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06925/0.6737, allocations: 32.58 MB / 0.622 GB, free: 7.301 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008692/0.6746, allocations: 298.6 kB / 0.6223 GB, free: 6.984 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 4.358e-06/0.6746, allocations: 0 / 0.6223 GB, free: 6.984 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.00472/0.6794, allocations: 1.712 MB / 0.6239 GB, free: 5.156 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.6795, allocations: 144.5 kB / 0.6241 GB, free: 4.984 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005865/0.6801, allocations: 409.8 kB / 0.6245 GB, free: 4.578 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.293e-05/0.6802, allocations: 33.7 kB / 0.6245 GB, free: 4.539 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.6804, allocations: 236.2 kB / 0.6247 GB, free: 4.305 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.6806, allocations: 110.5 kB / 0.6248 GB, free: 4.195 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.6807, allocations: 77.92 kB / 0.6249 GB, free: 4.113 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.6809, allocations: 354.8 kB / 0.6252 GB, free: 3.758 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.6812, allocations: 132.7 kB / 0.6254 GB, free: 3.629 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/0.6816, allocations: 223.7 kB / 0.6256 GB, free: 3.383 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006846/0.6823, allocations: 470.1 kB / 0.626 GB, free: 2.871 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.6823, allocations: 4 kB / 0.626 GB, free: 2.867 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001299/0.6836, allocations: 0.6193 MB / 0.6266 GB, free: 2.223 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.918e-05/0.6837, allocations: 71.3 kB / 0.6267 GB, free: 2.141 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.6837, allocations: 7.938 kB / 0.6267 GB, free: 2.133 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/0.6851, allocations: 161.5 kB / 0.6269 GB, free: 1.969 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.6854, allocations: 62.67 kB / 0.6269 GB, free: 1.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.6866, allocations: 1.128 MB / 0.628 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/0.687, allocations: 26.2 kB / 0.6281 GB, free: 0.707 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.901e-05/0.687, allocations: 12 kB / 0.6281 GB, free: 0.6953 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 (coolingFlowRate.nextEventScaled,coolingFlowRate.nextEvent,$PRE.coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.b,coolingFlowRate.a,steamFlowRate.nextEventScaled,steamFlowRate.nextEvent,$PRE.steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.b,steamFlowRate.a,$whenCondition2,$whenCondition1,tank.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004111/0.6874, allocations: 256.9 kB / 0.6283 GB, free: 432 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.6876, allocations: 47.44 kB / 0.6284 GB, free: 384 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00249/0.6901, allocations: 1.587 MB / 0.6299 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/0.6901, allocations: 19.91 kB / 0.6299 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.6902, allocations: 3.938 kB / 0.6299 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.6902, allocations: 0 / 0.6299 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000972/0.6911, allocations: 0.7367 MB / 0.6306 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.6912, allocations: 0 / 0.6306 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.6914, allocations: 43.97 kB / 0.6307 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006389/0.6921, allocations: 249.2 kB / 0.6309 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.6921, allocations: 16 kB / 0.6309 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/0.6932, allocations: 1.332 MB / 0.6322 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.6932, allocations: 0 / 0.6322 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002291/0.6955, allocations: 1.718 MB / 0.6339 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/0.6958, allocations: 181.5 kB / 0.6341 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.696, allocations: 12 kB / 0.6341 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.6962, allocations: 15.98 kB / 0.6341 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.6963, allocations: 23.97 kB / 0.6341 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/0.6964, allocations: 12 kB / 0.6342 GB, free: 10.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003751/0.6968, allocations: 283.1 kB / 0.6344 GB, free: 9.973 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6968, allocations: 0 / 0.6344 GB, free: 9.973 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004846/0.7016, allocations: 1.105 MB / 0.6355 GB, free: 8.867 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (barometricCondenser.hl,tank.y,tank.h) * Number of discrete variables: 22 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled) * Number of discrete states: 12 (steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.nextEventScaled,steamFlowRate.b,steamFlowRate.a,$whenCondition1,coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.nextEventScaled,coolingFlowRate.b,coolingFlowRate.a,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008058/0.7097, allocations: 1.318 MB / 0.6368 GB, free: 7.551 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001798/0.7116, allocations: 0.7517 MB / 0.6375 GB, free: 6.773 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.7116, allocations: 0 / 0.6375 GB, free: 6.773 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009153/0.7125, allocations: 0.595 MB / 0.6381 GB, free: 6.152 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.714, allocations: 193.2 kB / 0.6383 GB, free: 5.965 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.717, allocations: 1.484 MB / 0.6397 GB, free: 4.445 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008754/0.7179, allocations: 0.9111 MB / 0.6406 GB, free: 3.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.7181, allocations: 39.42 kB / 0.6407 GB, free: 3.461 MB / 494.1 MB Notification: Performance of SimCode: time 8.41e-07/0.7181, allocations: 4 kB / 0.6407 GB, free: 3.457 MB / 494.1 MB Notification: Performance of Templates: time 0.04555/0.7636, allocations: 29.05 MB / 0.669 GB, free: 6.355 MB / 0.5137 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1)