Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_002.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_header_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_002") translateModel(AES.Devel_test_models.Test_header_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_002") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001313/0.001313, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2329/0.2329, allocations: 22.35 MB / 313.4 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006243/0.0006247, allocations: 12 kB / 381.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3838, allocations: 55.97 MB / 437.9 MB, free: 39.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.002164/0.386, allocations: 1.718 MB / 439.6 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000337/0.3863, allocations: 166 kB / 439.8 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.432e-05/0.3864, allocations: 6.906 kB / 439.8 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.517e-05/0.3865, allocations: 14.48 kB / 439.8 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.3866, allocations: 58.81 kB / 439.9 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.3868, allocations: 27.62 kB / 439.9 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.387, allocations: 161.1 kB / 440.1 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002151/0.3872, allocations: 71.48 kB / 440.1 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.407e-05/0.3873, allocations: 48.42 kB / 440.2 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.3874, allocations: 64.22 kB / 440.2 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.3875, allocations: 10.09 kB / 440.2 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.01e-05/0.3875, allocations: 13 kB / 440.3 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.457e-05/0.3875, allocations: 25.17 kB / 440.3 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.846e-05/0.3876, allocations: 51.14 kB / 440.3 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.3877, allocations: 112.4 kB / 440.4 MB, free: 37.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3877, allocations: 0 / 440.4 MB, free: 37.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3877, allocations: 0 / 440.4 MB, free: 37.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3877, allocations: 2.844 kB / 440.4 MB, free: 37.37 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005348/0.3883, allocations: 417.4 kB / 440.8 MB, free: 36.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.3883, allocations: 15.31 kB / 440.9 MB, free: 36.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.3884, allocations: 19.09 kB / 440.9 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.3886, allocations: 209.2 kB / 441.1 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.3886, allocations: 9.188 kB / 441.1 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.3887, allocations: 9.031 kB / 441.1 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.3889, allocations: 121.5 kB / 441.2 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3889, allocations: 0 / 441.2 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.3889, allocations: 4 kB / 441.2 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.389, allocations: 2.781 kB / 441.2 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.3891, allocations: 68.53 kB / 441.3 MB, free: 36.61 MB / 350.1 MB Warning: Alias set with conflicting start values * Candidate: header.T(start = header.Tstart = 293.15, confidence number = 2) * Candidate: header.heatPort.T(start = 288.15, confidence number = 8) * Candidate: P.port.T(start = 288.15, confidence number = 8) => Select value from header.T(start = header.Tstart = 293.15) for variable: header.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009102/0.39, allocations: 0.7818 MB / 442.1 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.3902, allocations: 47.09 kB / 442.1 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.697e-05/0.3902, allocations: 20.64 kB / 442.1 MB, free: 35.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.3902, allocations: 3.938 kB / 442.1 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.3903, allocations: 34.52 kB / 442.2 MB, free: 35.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.284e-06/0.3903, allocations: 6.562 kB / 442.2 MB, free: 35.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002346/0.3905, allocations: 76.16 kB / 442.3 MB, free: 35.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.3906, allocations: 51.41 kB / 442.3 MB, free: 35.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.3907, allocations: 198.3 kB / 442.5 MB, free: 35.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.3908, allocations: 29.64 kB / 442.5 MB, free: 35.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.3908, allocations: 121.4 kB / 442.7 MB, free: 35.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.3909, allocations: 14.08 kB / 442.7 MB, free: 35.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.3909, allocations: 0 / 442.7 MB, free: 35.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.867e-05/0.391, allocations: 325.2 kB / 443 MB, free: 35.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4e-05/0.391, allocations: 17.45 kB / 443 MB, free: 35.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.99e-05/0.3911, allocations: 30.42 kB / 443 MB, free: 35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.48e-05/0.3911, allocations: 19.91 kB / 443.1 MB, free: 35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3911, allocations: 0 / 443.1 MB, free: 35 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001268/0.3913, allocations: 79.56 kB / 443.1 MB, free: 34.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.3913, allocations: 9.297 kB / 443.1 MB, free: 34.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3913, allocations: 6.312 kB / 443.1 MB, free: 34.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3913, allocations: 3.938 kB / 443.1 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.498e-05/0.3914, allocations: 18.56 kB / 443.2 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.3915, allocations: 2.031 kB / 443.2 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.808e-05/0.3915, allocations: 14.12 kB / 443.2 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.3915, allocations: 2.75 kB / 443.2 MB, free: 34.92 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = header.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: 2 * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001867/0.3917, allocations: 125.4 kB / 443.3 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.3918, allocations: 13.69 kB / 443.3 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.377e-05/0.3918, allocations: 23.02 kB / 443.3 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3918, allocations: 6.766 kB / 443.4 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3919, allocations: 0 / 443.4 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3919, allocations: 0 / 443.4 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.3921, allocations: 210.1 kB / 443.6 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.3921, allocations: 0 / 443.6 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.715e-05/0.3922, allocations: 11.66 kB / 443.6 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3922, allocations: 0 / 443.6 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.3922, allocations: 7.938 kB / 443.6 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3922, allocations: 3.953 kB / 443.6 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3922, allocations: 0 / 443.6 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.3924, allocations: 181.5 kB / 443.8 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.3925, allocations: 87.8 kB / 443.8 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.3925, allocations: 2.875 kB / 443.8 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.087e-05/0.3926, allocations: 128 / 443.8 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.3926, allocations: 7.281 kB / 443.9 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.3927, allocations: 7.125 kB / 443.9 MB, free: 34.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.3928, allocations: 151.5 kB / 444 MB, free: 34.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3928, allocations: 4.062 kB / 444 MB, free: 34.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.393, allocations: 29.28 kB / 444 MB, free: 34.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (header.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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001256/0.3932, allocations: 95 kB / 444.1 MB, free: 34.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.3933, allocations: 38.05 kB / 444.2 MB, free: 34.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3933, allocations: 0 / 444.2 MB, free: 34.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.077e-05/0.3934, allocations: 12.59 kB / 444.2 MB, free: 34.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.3937, allocations: 26.03 kB / 444.2 MB, free: 34.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007329/0.3944, allocations: 423.9 kB / 444.6 MB, free: 33.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.3947, allocations: 0.7121 MB / 445.3 MB, free: 33.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.969e-05/0.3948, allocations: 21.69 kB / 445.4 MB, free: 33.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.641e-05/0.3948, allocations: 13.06 kB / 445.4 MB, free: 33.06 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3948, allocations: 0 / 445.4 MB, free: 33.06 MB / 350.1 MB Notification: Performance of Templates: time 0.004616/0.3994, allocations: 1.238 MB / 446.6 MB, free: 32.96 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_header_002.makefile (rm -f AES_AES.Devel_test_models.Test_header_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_002.pipe >> ../files/AES_AES.Devel_test_models.Test_header_002.sim & ./AES_AES.Devel_test_models.Test_header_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_header_002.pipe 2>&1)