Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_mixing_streams.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(AES.Devel_test_models.Test_liquid_mixing_streams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_mixing_streams") translateModel(AES.Devel_test_models.Test_liquid_mixing_streams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_mixing_streams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 104.2 kB / 16.35 MB, free: 6.289 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.001778/0.001778, allocations: 192.7 kB / 17.29 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09193/0.09193, allocations: 22.34 MB / 313.5 MB, free: 8.895 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001338, allocations: 60.41 kB / 382.2 MB, free: 41.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08037/0.08173, allocations: 54.97 MB / 437.2 MB, free: 12.27 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_mixing_streams): time 0.02909/0.1109, allocations: 21.39 MB / 458.6 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006612/0.1115, allocations: 183.3 kB / 458.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.1117, allocations: 4 kB / 458.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.182e-05/0.1117, allocations: 27.72 kB / 458.8 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.112, allocations: 59.47 kB / 458.8 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.322e-05/0.1121, allocations: 31.97 kB / 458.9 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.1123, allocations: 187.1 kB / 459.1 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.1125, allocations: 117.5 kB / 459.2 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.1127, allocations: 79.66 kB / 459.3 MB, free: 6.336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.1128, allocations: 87.61 kB / 459.3 MB, free: 6.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.1128, allocations: 12 kB / 459.4 MB, free: 6.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.696e-05/0.1129, allocations: 16 kB / 459.4 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.77e-05/0.1129, allocations: 31.86 kB / 459.4 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.672e-05/0.113, allocations: 83.59 kB / 459.5 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.1132, allocations: 191.2 kB / 459.7 MB, free: 5.922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1132, allocations: 4 kB / 459.7 MB, free: 5.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1132, allocations: 0 / 459.7 MB, free: 5.918 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1132, allocations: 0 / 459.7 MB, free: 5.918 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006116/0.1139, allocations: 458.9 kB / 460.1 MB, free: 5.418 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.1139, allocations: 8.031 kB / 460.1 MB, free: 5.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.114, allocations: 20.75 kB / 460.1 MB, free: 5.391 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.1142, allocations: 228.6 kB / 460.4 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.1143, allocations: 12.61 kB / 460.4 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.1143, allocations: 16.38 kB / 460.4 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.1146, allocations: 155.7 kB / 460.6 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.1146, allocations: 0 / 460.6 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.1146, allocations: 8 kB / 460.6 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1147, allocations: 4 kB / 460.6 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002776/0.1149, allocations: 95.94 kB / 460.7 MB, free: 4.836 MB / 334.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.0009276/0.1159, allocations: 0.6356 MB / 461.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.116, allocations: 54.5 kB / 461.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.1161, allocations: 36.84 kB / 461.4 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.1162, allocations: 4 kB / 461.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.1162, allocations: 34.56 kB / 461.4 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001035/0.1163, allocations: 15.83 kB / 461.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.1163, allocations: 0 / 461.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003819/0.1167, allocations: 109.5 kB / 461.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.1167, allocations: 55.39 kB / 461.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.1169, allocations: 202.4 kB / 461.8 MB, free: 3.574 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.117, allocations: 25.7 kB / 461.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.308e-05/0.117, allocations: 131.8 kB / 461.9 MB, free: 3.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.1171, allocations: 31.8 kB / 462 MB, free: 3.379 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/0.1171, allocations: 29.7 kB / 462 MB, free: 3.344 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1173, allocations: 326.8 kB / 462.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.1174, allocations: 27.98 kB / 462.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.1175, allocations: 38.56 kB / 462.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.1185, allocations: 206.3 kB / 462.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1186, allocations: 0 / 462.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002718/0.1188, allocations: 125.3 kB / 462.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1189, allocations: 8 kB / 462.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1189, allocations: 0 / 462.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1189, allocations: 0 / 462.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.119, allocations: 23.98 kB / 462.7 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1191, allocations: 0 / 462.7 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.98e-05/0.1192, allocations: 8 kB / 462.8 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.1192, allocations: 11.98 kB / 462.8 MB, free: 2.551 MB / 334.1 MB Warning: Assuming fixed start value for the following 1 variables: H.T:VARIABLE(min = 0.0 start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "fluid T" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001671/0.1194, allocations: 130.5 kB / 462.9 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.1194, allocations: 19.81 kB / 462.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.1197, allocations: 118.9 kB / 463 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1197, allocations: 4 kB / 463 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1197, allocations: 0 / 463 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1197, allocations: 3.938 kB / 463 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.12, allocations: 229.6 kB / 463.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.12, allocations: 0 / 463.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.1201, allocations: 19.98 kB / 463.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1201, allocations: 0 / 463.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.1202, allocations: 8 kB / 463.3 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1202, allocations: 0 / 463.3 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1202, allocations: 192 / 463.3 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.1205, allocations: 243.1 kB / 463.5 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.826e-05/0.1206, allocations: 88.95 kB / 463.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.1206, allocations: 8 kB / 463.6 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1207, allocations: 3.984 kB / 463.6 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.1207, allocations: 7.938 kB / 463.6 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.1208, allocations: 4 kB / 463.6 MB, free: 1.582 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.1209, allocations: 144.2 kB / 463.8 MB, free: 1.441 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1209, allocations: 0 / 463.8 MB, free: 1.441 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.1212, allocations: 43.91 kB / 463.8 MB, free: 1.398 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (H.T) * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001158/0.1213, allocations: 99.23 kB / 463.9 MB, free: 1.293 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.1215, allocations: 67.91 kB / 464 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1215, allocations: 0 / 464 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.654e-05/0.1216, allocations: 39.92 kB / 464 MB, free: 1.188 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.1219, allocations: 32.11 kB / 464.1 MB, free: 1.156 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000754/0.1227, allocations: 374.1 kB / 464.4 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.123, allocations: 0.7163 MB / 465.1 MB, free: 20 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.1231, allocations: 29.59 kB / 465.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.024e-05/0.1232, allocations: 19.42 kB / 465.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1232, allocations: 0 / 465.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of Templates: time 0.004538/0.1277, allocations: 1.772 MB / 467 MB, free: 14.23 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_liquid_mixing_streams.makefile (rm -f AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_mixing_streams.sim & ./AES_AES.Devel_test_models.Test_liquid_mixing_streams -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe 2>&1)