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.00195/0.00195, allocations: 82.02 kB / 19.96 MB, free: 1.758 MB / 14.72 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.001524/0.001524, allocations: 166.7 kB / 23.23 MB, free: 4.891 MB / 14.72 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 1.514/1.514, allocations: 177.1 MB / 203.5 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.1057/0.1057, allocations: 18.14 MB / 278.1 MB, free: 15.07 MB / 270.1 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.813e-06/1.813e-06, allocations: 0 / 415.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.351e-05/3.533e-05, allocations: 2.281 kB / 415.6 MB, free: 2.57 MB / 334.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.03503/0.03507, allocations: 23.22 MB / 438.8 MB, free: 11.51 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007215/0.03579, allocations: 179.3 kB / 439 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.03597, allocations: 3.938 kB / 439 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.934e-05/0.03607, allocations: 27.78 kB / 439 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.03638, allocations: 67.42 kB / 439.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001185/0.0365, allocations: 27.97 kB / 439.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.0368, allocations: 202.8 kB / 439.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003221/0.03712, allocations: 101.3 kB / 439.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.03734, allocations: 71.83 kB / 439.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.03752, allocations: 67.8 kB / 439.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.69e-05/0.03758, allocations: 12 kB / 439.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.524e-05/0.03762, allocations: 16 kB / 439.6 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.678e-05/0.03767, allocations: 39.83 kB / 439.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.391e-05/0.03776, allocations: 59.84 kB / 439.7 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002959/0.03806, allocations: 191.3 kB / 439.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.03806, allocations: 4 kB / 439.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.03807, allocations: 0 / 439.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.03808, allocations: 0 / 439.8 MB, free: 10.46 MB / 366.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.0007738/0.03885, allocations: 385.7 kB / 440.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.03889, allocations: 12.86 kB / 440.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.126e-05/0.03895, allocations: 16.84 kB / 440.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.03927, allocations: 174.8 kB / 440.4 MB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.03929, allocations: 12.61 kB / 440.4 MB, free: 9.812 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.03933, allocations: 12.38 kB / 440.4 MB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004332/0.03976, allocations: 156.2 kB / 440.6 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.03978, allocations: 192 / 440.6 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.0398, allocations: 4.375 kB / 440.6 MB, free: 9.637 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.03981, allocations: 7.938 kB / 440.6 MB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003244/0.04013, allocations: 103.9 kB / 440.7 MB, free: 9.527 MB / 366.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.00101/0.04114, allocations: 495.6 kB / 441.2 MB, free: 9.004 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.04131, allocations: 50.5 kB / 441.2 MB, free: 8.945 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.04143, allocations: 36.84 kB / 441.3 MB, free: 8.906 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.04145, allocations: 0 / 441.3 MB, free: 8.906 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.04148, allocations: 34.5 kB / 441.3 MB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001358/0.04162, allocations: 19.89 kB / 441.3 MB, free: 8.844 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.04162, allocations: 0 / 441.3 MB, free: 8.844 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004605/0.04208, allocations: 113.5 kB / 441.4 MB, free: 8.727 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.04212, allocations: 55.34 kB / 441.5 MB, free: 8.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.04233, allocations: 176.1 kB / 441.7 MB, free: 8.477 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.04235, allocations: 25.7 kB / 441.7 MB, free: 8.445 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.04246, allocations: 147.8 kB / 441.8 MB, free: 8.297 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.04249, allocations: 23.95 kB / 441.9 MB, free: 8.273 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.04255, allocations: 25.7 kB / 441.9 MB, free: 8.242 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.04271, allocations: 330.8 kB / 442.2 MB, free: 7.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.04283, allocations: 23.98 kB / 442.2 MB, free: 7.887 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.04295, allocations: 42.56 kB / 442.3 MB, free: 7.836 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.04414, allocations: 202.3 kB / 442.5 MB, free: 7.629 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.04415, allocations: 0 / 442.5 MB, free: 7.629 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003363/0.04448, allocations: 129.4 kB / 442.6 MB, free: 7.496 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.0445, allocations: 4 kB / 442.6 MB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.04451, allocations: 4 kB / 442.6 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.04453, allocations: 0 / 442.6 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.04469, allocations: 27.98 kB / 442.6 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.0447, allocations: 0 / 442.6 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.48e-05/0.0448, allocations: 4 kB / 442.6 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.04481, allocations: 7.984 kB / 442.6 MB, free: 7.449 MB / 366.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.0001906/0.045, allocations: 137.7 kB / 442.8 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.04504, allocations: 11.95 kB / 442.8 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.04533, allocations: 115.1 kB / 442.9 MB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.04533, allocations: 4 kB / 442.9 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.04534, allocations: 0 / 442.9 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.04534, allocations: 3.938 kB / 442.9 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.04557, allocations: 165.1 kB / 443.1 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.04557, allocations: 0 / 443.1 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.04572, allocations: 23.98 kB / 443.1 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.04572, allocations: 0 / 443.1 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.04573, allocations: 0 / 443.1 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.04573, allocations: 4 kB / 443.1 MB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.04574, allocations: 0 / 443.1 MB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.04612, allocations: 239.4 kB / 443.3 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/0.04616, allocations: 15.92 kB / 443.4 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.04618, allocations: 0 / 443.4 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.04629, allocations: 11.98 kB / 443.4 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.196e-05/0.04634, allocations: 3.984 kB / 443.4 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.04635, allocations: 4 kB / 443.4 MB, free: 6.668 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.04649, allocations: 132.2 kB / 443.5 MB, free: 6.535 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.04649, allocations: 0 / 443.5 MB, free: 6.535 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000287/0.04678, allocations: 35.94 kB / 443.5 MB, free: 6.5 MB / 366.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.0001364/0.04692, allocations: 99.12 kB / 443.6 MB, free: 6.391 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.04718, allocations: 67.89 kB / 443.7 MB, free: 6.324 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.04719, allocations: 4 kB / 443.7 MB, free: 6.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.96e-05/0.04727, allocations: 27.98 kB / 443.7 MB, free: 6.293 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.04762, allocations: 40.05 kB / 443.8 MB, free: 6.254 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007535/0.04837, allocations: 330.9 kB / 444.1 MB, free: 5.898 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.04848, allocations: 112.2 kB / 444.2 MB, free: 5.766 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.33e-05/0.04857, allocations: 17.48 kB / 444.2 MB, free: 5.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.366e-05/0.04863, allocations: 28.5 kB / 444.2 MB, free: 5.723 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.04863, allocations: 0 / 444.2 MB, free: 5.723 MB / 366.1 MB Notification: Performance of Templates: time 0.005918/0.05455, allocations: 1.79 MB / 446 MB, free: 3.973 MB / 366.1 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=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.708555731922388] Failed to read output from testmodel.py, exit status != 0: 0.06500107422471046 0.27776147100000004 0.23664413 Calling exit ...