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.001258/0.001258, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 197.7 kB / 16.79 MB, free: 6.809 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.267/1.267, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1859/0.1859, allocations: 22.35 MB / 313 MB, free: 12.71 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 64.05 kB / 380.8 MB, free: 11.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2144, allocations: 54.94 MB / 435.7 MB, free: 39.48 MB / 350.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.02442/0.2388, allocations: 21.71 MB / 457.4 MB, free: 31.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004462/0.2393, allocations: 206.7 kB / 457.6 MB, free: 31.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.756e-05/0.2394, allocations: 2.938 kB / 457.6 MB, free: 31.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.118e-05/0.2395, allocations: 12.19 kB / 457.6 MB, free: 31.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.2397, allocations: 52.48 kB / 457.7 MB, free: 31.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.619e-05/0.2397, allocations: 32.66 kB / 457.7 MB, free: 31.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.2399, allocations: 179.5 kB / 457.9 MB, free: 31.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.2401, allocations: 100 kB / 458 MB, free: 31.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.2402, allocations: 76 kB / 458.1 MB, free: 31.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.849e-05/0.2403, allocations: 94.34 kB / 458.1 MB, free: 31.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.2403, allocations: 10.66 kB / 458.2 MB, free: 31.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.396e-05/0.2404, allocations: 10.56 kB / 458.2 MB, free: 31.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.923e-05/0.2404, allocations: 28.72 kB / 458.2 MB, free: 31.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.333e-05/0.2405, allocations: 87.27 kB / 458.3 MB, free: 31.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.2406, allocations: 129.5 kB / 458.4 MB, free: 31.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2406, allocations: 1.156 kB / 458.4 MB, free: 31.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.2406, allocations: 0 / 458.4 MB, free: 31.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.2406, allocations: 0 / 458.4 MB, free: 31.2 MB / 350.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.0004963/0.2411, allocations: 467.3 kB / 458.9 MB, free: 30.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.2412, allocations: 13.03 kB / 458.9 MB, free: 30.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.2412, allocations: 17.44 kB / 458.9 MB, free: 30.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.2414, allocations: 229 kB / 459.1 MB, free: 30.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.2414, allocations: 13.36 kB / 459.1 MB, free: 30.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.2414, allocations: 11.5 kB / 459.1 MB, free: 30.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.2417, allocations: 152 kB / 459.3 MB, free: 30.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2417, allocations: 5.188 kB / 459.3 MB, free: 30.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.2418, allocations: 5.156 kB / 459.3 MB, free: 30.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2418, allocations: 2.188 kB / 459.3 MB, free: 30.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002589/0.242, allocations: 100.4 kB / 459.4 MB, free: 30.38 MB / 350.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.0007282/0.2428, allocations: 0.6306 MB / 460 MB, free: 29.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.2429, allocations: 59.61 kB / 460.1 MB, free: 29.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.698e-05/0.243, allocations: 31.33 kB / 460.1 MB, free: 29.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.243, allocations: 8.594 kB / 460.1 MB, free: 29.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.2431, allocations: 43.77 kB / 460.2 MB, free: 29.73 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 9.782e-05/0.2432, allocations: 13.22 kB / 460.2 MB, free: 29.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.2432, allocations: 0 / 460.2 MB, free: 29.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003557/0.2435, allocations: 106.8 kB / 460.3 MB, free: 29.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.648e-05/0.2436, allocations: 52.5 kB / 460.3 MB, free: 29.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.2437, allocations: 200 kB / 460.5 MB, free: 29.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.2437, allocations: 30.77 kB / 460.6 MB, free: 29.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.2438, allocations: 134.7 kB / 460.7 MB, free: 29.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.2438, allocations: 34.81 kB / 460.7 MB, free: 29.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.2438, allocations: 26.03 kB / 460.8 MB, free: 29.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.986e-05/0.2439, allocations: 328.8 kB / 461.1 MB, free: 28.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.434e-05/0.244, allocations: 22.56 kB / 461.1 MB, free: 28.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.249e-05/0.2441, allocations: 52.98 kB / 461.2 MB, free: 28.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.2451, allocations: 196.2 kB / 461.3 MB, free: 28.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2451, allocations: 4 kB / 461.3 MB, free: 28.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002501/0.2454, allocations: 120.1 kB / 461.5 MB, free: 28.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.2454, allocations: 5.031 kB / 461.5 MB, free: 28.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2454, allocations: 4.641 kB / 461.5 MB, free: 28.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.2454, allocations: 1.469 kB / 461.5 MB, free: 28.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.2456, allocations: 25.36 kB / 461.5 MB, free: 28.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2456, allocations: 2.25 kB / 461.5 MB, free: 28.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.206e-05/0.2457, allocations: 13.22 kB / 461.5 MB, free: 28.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.2457, allocations: 6.922 kB / 461.5 MB, free: 28.73 MB / 350.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.0001215/0.2458, allocations: 125.8 kB / 461.6 MB, free: 28.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.2459, allocations: 18.52 kB / 461.7 MB, free: 28.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002229/0.2461, allocations: 123.4 kB / 461.8 MB, free: 28.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.2461, allocations: 1.094 kB / 461.8 MB, free: 28.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2461, allocations: 5.125 kB / 461.8 MB, free: 28.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2461, allocations: 7.219 kB / 461.8 MB, free: 28.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.2463, allocations: 224.1 kB / 462 MB, free: 28.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2463, allocations: 0 / 462 MB, free: 28.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.2465, allocations: 24.36 kB / 462 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2465, allocations: 1.188 kB / 462 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.2465, allocations: 1.469 kB / 462 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2465, allocations: 0 / 462 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2465, allocations: 7.328 kB / 462 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.2468, allocations: 235.3 kB / 462.3 MB, free: 28.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.96e-05/0.2468, allocations: 91.34 kB / 462.4 MB, free: 28.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.2468, allocations: 5.344 kB / 462.4 MB, free: 28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.247, allocations: 5.062 kB / 462.4 MB, free: 28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.247, allocations: 10.39 kB / 462.4 MB, free: 28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.247, allocations: 3.094 kB / 462.4 MB, free: 28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.131e-05/0.2471, allocations: 148.8 kB / 462.5 MB, free: 27.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2471, allocations: 0 / 462.5 MB, free: 27.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.2474, allocations: 34.31 kB / 462.6 MB, free: 27.89 MB / 350.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 6.461e-05/0.2474, allocations: 93.34 kB / 462.7 MB, free: 27.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.2476, allocations: 66.42 kB / 462.7 MB, free: 27.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.2477, allocations: 0 / 462.7 MB, free: 27.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.169e-05/0.2477, allocations: 44.45 kB / 462.8 MB, free: 27.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.248, allocations: 33.72 kB / 462.8 MB, free: 27.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000542/0.2486, allocations: 470.1 kB / 463.3 MB, free: 27.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.2487, allocations: 0.7162 MB / 464 MB, free: 26.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/0.2488, allocations: 20.58 kB / 464 MB, free: 26.7 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2488, allocations: 4 kB / 464 MB, free: 26.7 MB / 350.1 MB Notification: Performance of Templates: time 0.002952/0.2517, allocations: 1.956 MB / 466 MB, free: 26.57 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)