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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009263/0.0009263, allocations: 72.83 kB / 20.74 MB, free: 3.754 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009166/0.0009166, allocations: 173 kB / 24.17 MB, free: 336 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9287/0.9287, allocations: 177.1 MB / 204.6 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0637/0.0637, allocations: 18.14 MB / 279.2 MB, free: 11.18 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Devel_test_models.Test_liquid_mixing_streams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,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=500,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_mixing_streams") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 1.375 kB / 304.5 MB, free: 380 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.984e-05, allocations: 2.844 kB / 304.5 MB, free: 376 kB / 266.7 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.02728/0.02729, allocations: 31.67 MB / 336.2 MB, free: 2.488 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005527/0.02785, allocations: 183.9 kB / 336.4 MB, free: 2.309 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.521e-05/0.02793, allocations: 3.938 kB / 336.4 MB, free: 2.305 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.965e-05/0.02798, allocations: 23.78 kB / 336.4 MB, free: 2.281 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.02819, allocations: 71.25 kB / 336.5 MB, free: 2.215 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.53e-05/0.02826, allocations: 27.95 kB / 336.5 MB, free: 2.188 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.02841, allocations: 195.5 kB / 336.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.02858, allocations: 106.3 kB / 336.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.0287, allocations: 79.7 kB / 336.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.399e-05/0.02879, allocations: 67.8 kB / 336.9 MB, free: 1.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.02882, allocations: 16 kB / 337 MB, free: 1.734 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.873e-05/0.02883, allocations: 12 kB / 337 MB, free: 1.723 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.858e-05/0.02886, allocations: 39.83 kB / 337 MB, free: 1.684 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.376e-05/0.02891, allocations: 51.92 kB / 337.1 MB, free: 1.633 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.02905, allocations: 131.5 kB / 337.2 MB, free: 1.504 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.02905, allocations: 0 / 337.2 MB, free: 1.504 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.02905, allocations: 4 kB / 337.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.02906, allocations: 4 kB / 337.2 MB, free: 1.496 MB / 298.7 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.0003774/0.02943, allocations: 362 kB / 337.5 MB, free: 1.109 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.02946, allocations: 8.922 kB / 337.6 MB, free: 1.102 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.0295, allocations: 20.92 kB / 337.6 MB, free: 1.082 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.02965, allocations: 154.2 kB / 337.7 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.02967, allocations: 12.61 kB / 337.7 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.02969, allocations: 12.36 kB / 337.7 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.02986, allocations: 138.5 kB / 337.9 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.02986, allocations: 192 / 337.9 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.02988, allocations: 12.38 kB / 337.9 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.02988, allocations: 7.875 kB / 337.9 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.673e-05/0.02995, allocations: 42.78 kB / 337.9 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.03042, allocations: 416.6 kB / 338.4 MB, free: 252 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.243e-05/0.03048, allocations: 42.5 kB / 338.4 MB, free: 200 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.074e-05/0.03051, allocations: 28.89 kB / 338.4 MB, free: 168 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.03053, allocations: 8 kB / 338.4 MB, free: 160 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.03055, allocations: 30.56 kB / 338.5 MB, free: 120 kB / 298.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 8.947e-05/0.03064, allocations: 19.98 kB / 338.5 MB, free: 100 kB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.03064, allocations: 3.938 kB / 338.5 MB, free: 96 kB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001308/0.03077, allocations: 73.81 kB / 338.6 MB, free: 16 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.0308, allocations: 51.41 kB / 338.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.66e-05/0.03089, allocations: 174.5 kB / 338.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.0309, allocations: 29.7 kB / 338.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.03095, allocations: 127.8 kB / 338.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.03097, allocations: 27.78 kB / 339 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.031, allocations: 25.7 kB / 339 MB, free: 15.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.694e-05/0.03108, allocations: 330.8 kB / 339.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.866e-05/0.0311, allocations: 8 kB / 339.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.688e-05/0.03113, allocations: 46.42 kB / 339.4 MB, free: 15.15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.765e-05/0.03121, allocations: 74.41 kB / 339.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.03121, allocations: 4 kB / 339.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.703e-05/0.0313, allocations: 77.59 kB / 339.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.03131, allocations: 8 kB / 339.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.03131, allocations: 0 / 339.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.03132, allocations: 0 / 339.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.209e-05/0.03141, allocations: 27.98 kB / 339.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.03141, allocations: 3.984 kB / 339.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.685e-05/0.03145, allocations: 3.938 kB / 339.6 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.03145, allocations: 8.062 kB / 339.6 MB, free: 14.93 MB / 314.7 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 9.162e-05/0.03155, allocations: 125.7 kB / 339.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.03156, allocations: 7.984 kB / 339.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.03168, allocations: 95.03 kB / 339.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.03168, allocations: 0 / 339.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.03168, allocations: 4 kB / 339.8 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.03168, allocations: 4 kB / 339.8 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.03179, allocations: 101.8 kB / 339.9 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.03179, allocations: 0 / 339.9 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.826e-05/0.03186, allocations: 23.92 kB / 339.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.03186, allocations: 0 / 339.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.03187, allocations: 3.984 kB / 339.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.03187, allocations: 0 / 339.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.03187, allocations: 0 / 339.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.03201, allocations: 191.6 kB / 340.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.572e-05/0.03202, allocations: 15.84 kB / 340.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.03204, allocations: 4 kB / 340.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.667e-05/0.03208, allocations: 3.984 kB / 340.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.03211, allocations: 15.98 kB / 340.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.03211, allocations: 0 / 340.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.252e-05/0.03215, allocations: 41.66 kB / 340.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.03215, allocations: 0 / 340.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001412/0.03229, allocations: 39.89 kB / 340.2 MB, free: 14.21 MB / 314.7 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.095e-05/0.03236, allocations: 80.34 kB / 340.3 MB, free: 14.13 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.019e-05/0.03245, allocations: 60.83 kB / 340.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.03245, allocations: 4 kB / 340.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.901e-05/0.03248, allocations: 32.78 kB / 340.4 MB, free: 14.03 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.03263, allocations: 31.91 kB / 340.4 MB, free: 14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006102/0.03324, allocations: 357 kB / 340.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.732e-05/0.03328, allocations: 71.98 kB / 340.8 MB, free: 13.53 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.019e-05/0.03333, allocations: 17.48 kB / 340.9 MB, free: 13.51 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.791e-05/0.03342, allocations: 83.34 kB / 340.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.03342, allocations: 3.938 kB / 341 MB, free: 13.43 MB / 314.7 MB Notification: Performance of Templates: time 0.003403/0.03682, allocations: 2.177 MB / 343.1 MB, free: 11.29 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Devel_test_models.Test_liquid_mixing_streams.makefile [Timeout 660] (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=240 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7027425970882177]