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.001138/0.001139, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001145/0.001145, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.211/1.211, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08864/0.08864, allocations: 22.33 MB / 313.1 MB, free: 8.906 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 64.66 kB / 380.9 MB, free: 41.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07356/0.07478, allocations: 54.97 MB / 435.9 MB, free: 13.37 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.02796/0.1028, allocations: 21.81 MB / 457.7 MB, free: 7.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005074/0.1033, allocations: 203.1 kB / 457.9 MB, free: 7.496 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.1034, allocations: 4 kB / 457.9 MB, free: 7.492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.393e-05/0.1035, allocations: 15.84 kB / 457.9 MB, free: 7.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.1037, allocations: 55.61 kB / 458 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.008e-05/0.1038, allocations: 31.97 kB / 458 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.104, allocations: 179.1 kB / 458.2 MB, free: 7.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.1042, allocations: 111.3 kB / 458.3 MB, free: 7.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.1044, allocations: 83.66 kB / 458.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.1045, allocations: 87.61 kB / 458.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.1045, allocations: 12 kB / 458.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.695e-05/0.1046, allocations: 16 kB / 458.5 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.163e-05/0.1046, allocations: 35.86 kB / 458.5 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.86e-05/0.1047, allocations: 91.52 kB / 458.6 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.1049, allocations: 127.7 kB / 458.7 MB, free: 6.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1049, allocations: 0 / 458.7 MB, free: 6.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1049, allocations: 0 / 458.7 MB, free: 6.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1049, allocations: 0 / 458.7 MB, free: 6.66 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.0005541/0.1054, allocations: 462.9 kB / 459.2 MB, free: 6.156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.1055, allocations: 12.03 kB / 459.2 MB, free: 6.145 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.1055, allocations: 16.75 kB / 459.2 MB, free: 6.129 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.1058, allocations: 237.3 kB / 459.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.1058, allocations: 8.609 kB / 459.4 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.1058, allocations: 12.38 kB / 459.4 MB, free: 5.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.1061, allocations: 151.3 kB / 459.6 MB, free: 5.684 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1062, allocations: 0 / 459.6 MB, free: 5.684 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.1062, allocations: 4 kB / 459.6 MB, free: 5.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1062, allocations: 4 kB / 459.6 MB, free: 5.676 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002665/0.1065, allocations: 103.9 kB / 459.7 MB, free: 5.574 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.0008559/0.1073, allocations: 0.6511 MB / 460.4 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.1075, allocations: 54.56 kB / 460.4 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.1076, allocations: 36.84 kB / 460.4 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.1076, allocations: 3.938 kB / 460.4 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.1076, allocations: 34.56 kB / 460.5 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001029/0.1077, allocations: 15.89 kB / 460.5 MB, free: 4.688 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.1078, allocations: 0 / 460.5 MB, free: 4.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003832/0.1081, allocations: 109.5 kB / 460.6 MB, free: 4.574 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.1082, allocations: 55.39 kB / 460.7 MB, free: 4.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.1083, allocations: 199 kB / 460.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.1084, allocations: 33.7 kB / 460.9 MB, free: 4.262 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/0.1085, allocations: 135.9 kB / 461 MB, free: 4.125 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.1085, allocations: 19.7 kB / 461 MB, free: 4.105 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.1085, allocations: 25.7 kB / 461.1 MB, free: 4.074 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.1086, allocations: 326.8 kB / 461.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.312e-05/0.1087, allocations: 27.98 kB / 461.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.601e-05/0.1088, allocations: 50.44 kB / 461.5 MB, free: 3.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.11, allocations: 198.3 kB / 461.7 MB, free: 3.457 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.11, allocations: 0 / 461.7 MB, free: 3.457 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002589/0.1102, allocations: 125.4 kB / 461.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1103, allocations: 4 kB / 461.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1103, allocations: 0 / 461.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1103, allocations: 4 kB / 461.8 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.1104, allocations: 23.92 kB / 461.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1105, allocations: 4 kB / 461.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.282e-05/0.1106, allocations: 7.938 kB / 461.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.1106, allocations: 12.02 kB / 461.8 MB, free: 3.273 MB / 334.1 MB Warning: Assuming fixed start value for the following 1 variables: H.T:VARIABLE(min = max(0.0, 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.0001822/0.1108, allocations: 144.6 kB / 462 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.559e-05/0.1108, allocations: 15.81 kB / 462 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.111, allocations: 123 kB / 462.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1111, allocations: 0 / 462.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1111, allocations: 0 / 462.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1111, allocations: 11.92 kB / 462.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.1113, allocations: 221.6 kB / 462.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1113, allocations: 0 / 462.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.1114, allocations: 27.92 kB / 462.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.814e-06/0.1115, allocations: 0 / 462.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1115, allocations: 4 kB / 462.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1115, allocations: 0 / 462.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1115, allocations: 0 / 462.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.1118, allocations: 231.2 kB / 462.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/0.1119, allocations: 97.02 kB / 462.7 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.1119, allocations: 7.984 kB / 462.7 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.112, allocations: 4 kB / 462.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.1121, allocations: 11.94 kB / 462.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1121, allocations: 3.984 kB / 462.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.1122, allocations: 144.2 kB / 462.9 MB, free: 2.152 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1122, allocations: 0 / 462.9 MB, free: 2.152 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.1124, allocations: 31.91 kB / 462.9 MB, free: 2.121 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 7.995e-05/0.1125, allocations: 99.25 kB / 463 MB, free: 2.016 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.1127, allocations: 79.97 kB / 463.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1128, allocations: 0 / 463.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.411e-05/0.1128, allocations: 35.98 kB / 463.1 MB, free: 1.902 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.1131, allocations: 31.91 kB / 463.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006352/0.1138, allocations: 468.1 kB / 463.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.114, allocations: 0.7202 MB / 464.3 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.1141, allocations: 27.38 kB / 464.3 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1141, allocations: 0 / 464.3 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of Templates: time 0.003297/0.1174, allocations: 1.963 MB / 466.3 MB, free: 14.65 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 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe 2>&1)