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.001179/0.001182, allocations: 106.3 kB / 15.99 MB, free: 6.355 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.001191/0.001191, allocations: 194.7 kB / 16.91 MB, free: 6.188 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.213/1.213, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08881/0.08881, allocations: 22.33 MB / 313.1 MB, free: 9.156 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 68.09 kB / 380.9 MB, free: 41.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0724/0.0736, allocations: 54.96 MB / 435.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.002956/0.07658, allocations: 2.129 MB / 438 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003773/0.07697, allocations: 167.3 kB / 438.2 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.576e-05/0.07707, allocations: 4 kB / 438.2 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.287e-05/0.07713, allocations: 7.922 kB / 438.2 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.07727, allocations: 55.55 kB / 438.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001074/0.07738, allocations: 19.98 kB / 438.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.07759, allocations: 175.1 kB / 438.4 MB, free: 11 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.07776, allocations: 85.42 kB / 438.5 MB, free: 10.92 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.853e-05/0.07787, allocations: 71.61 kB / 438.6 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.932e-05/0.07796, allocations: 67.7 kB / 438.6 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.07799, allocations: 8 kB / 438.6 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.277e-05/0.07802, allocations: 12 kB / 438.7 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.799e-05/0.07805, allocations: 31.84 kB / 438.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.289e-05/0.07812, allocations: 71.67 kB / 438.8 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.07824, allocations: 108 kB / 438.9 MB, free: 10.56 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.07825, allocations: 0 / 438.9 MB, free: 10.56 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.07826, allocations: 4 kB / 438.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.07826, allocations: 0 / 438.9 MB, free: 10.55 MB / 318.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.0005045/0.07878, allocations: 442.8 kB / 439.3 MB, free: 10.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.07882, allocations: 12.03 kB / 439.3 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.07886, allocations: 16.75 kB / 439.3 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.07906, allocations: 228.5 kB / 439.6 MB, free: 9.781 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.767e-05/0.07912, allocations: 4.375 kB / 439.6 MB, free: 9.777 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.07915, allocations: 8.375 kB / 439.6 MB, free: 9.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.07935, allocations: 122.4 kB / 439.7 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.07937, allocations: 8.125 kB / 439.7 MB, free: 9.633 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.07939, allocations: 7.938 kB / 439.7 MB, free: 9.625 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.0794, allocations: 0 / 439.7 MB, free: 9.625 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.07952, allocations: 59.97 kB / 439.8 MB, free: 9.566 MB / 318.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.0008511/0.08038, allocations: 0.7708 MB / 440.5 MB, free: 8.688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.08051, allocations: 50.52 kB / 440.6 MB, free: 8.629 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.93e-05/0.08055, allocations: 20.94 kB / 440.6 MB, free: 8.605 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.08057, allocations: 7.938 kB / 440.6 MB, free: 8.598 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.0806, allocations: 34.56 kB / 440.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.0806, allocations: 0 / 440.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002324/0.08084, allocations: 73.48 kB / 440.7 MB, free: 8.477 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.08088, allocations: 59.34 kB / 440.8 MB, free: 8.406 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.08104, allocations: 195.8 kB / 441 MB, free: 8.207 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.08105, allocations: 25.7 kB / 441 MB, free: 8.176 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.715e-05/0.08113, allocations: 127.8 kB / 441.1 MB, free: 8.047 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.161e-05/0.08114, allocations: 11.84 kB / 441.1 MB, free: 8.035 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.08119, allocations: 21.72 kB / 441.1 MB, free: 8.008 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.08129, allocations: 322.8 kB / 441.5 MB, free: 7.684 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.792e-05/0.08133, allocations: 15.98 kB / 441.5 MB, free: 7.668 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.79e-05/0.08137, allocations: 25.72 kB / 441.5 MB, free: 7.637 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.08169, allocations: 89.61 kB / 441.6 MB, free: 7.543 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.0817, allocations: 0 / 441.6 MB, free: 7.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001309/0.08183, allocations: 85.44 kB / 441.7 MB, free: 7.453 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.08185, allocations: 7.938 kB / 441.7 MB, free: 7.445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.08186, allocations: 128 / 441.7 MB, free: 7.445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.08188, allocations: 8 kB / 441.7 MB, free: 7.438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.848e-05/0.08197, allocations: 15.92 kB / 441.7 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.08198, allocations: 4 kB / 441.7 MB, free: 7.418 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.136e-05/0.08207, allocations: 15.88 kB / 441.7 MB, free: 7.402 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.08208, allocations: 4 kB / 441.7 MB, free: 7.398 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.08221, allocations: 136.2 kB / 441.9 MB, free: 7.258 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.08225, allocations: 11.84 kB / 441.9 MB, free: 7.246 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.115e-05/0.08228, allocations: 24.91 kB / 441.9 MB, free: 7.215 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.08229, allocations: 4 kB / 441.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.0823, allocations: 0 / 441.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.0823, allocations: 4 kB / 441.9 MB, free: 7.207 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.08254, allocations: 213.5 kB / 442.1 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.08255, allocations: 3.938 kB / 442.1 MB, free: 6.945 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.801e-05/0.08265, allocations: 11.98 kB / 442.1 MB, free: 6.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.08266, allocations: 0 / 442.1 MB, free: 6.934 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-06/0.08267, allocations: 0 / 442.1 MB, free: 6.934 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.08267, allocations: 0 / 442.1 MB, free: 6.934 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.08268, allocations: 0 / 442.1 MB, free: 6.934 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.08287, allocations: 179.4 kB / 442.3 MB, free: 6.742 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.08293, allocations: 92.89 kB / 442.4 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.08295, allocations: 0 / 442.4 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.577e-05/0.08305, allocations: 0 / 442.4 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.08307, allocations: 7.984 kB / 442.4 MB, free: 6.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.08308, allocations: 0 / 442.4 MB, free: 6.625 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.911e-05/0.08319, allocations: 149.5 kB / 442.5 MB, free: 6.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08319, allocations: 0 / 442.5 MB, free: 6.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.08343, allocations: 24 kB / 442.6 MB, free: 6.457 MB / 318.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 (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.401e-05/0.08351, allocations: 99.31 kB / 442.7 MB, free: 6.352 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.08363, allocations: 39.92 kB / 442.7 MB, free: 6.312 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.08364, allocations: 0 / 442.7 MB, free: 6.312 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.311e-05/0.08368, allocations: 12 kB / 442.7 MB, free: 6.301 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.08396, allocations: 32.11 kB / 442.7 MB, free: 6.27 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005631/0.08453, allocations: 415.7 kB / 443.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.08477, allocations: 0.7161 MB / 443.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.08481, allocations: 15.44 kB / 443.9 MB, free: 5.074 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.08481, allocations: 0 / 443.9 MB, free: 5.074 MB / 318.1 MB Notification: Performance of Templates: time 0.002858/0.08768, allocations: 1.628 MB / 445.5 MB, free: 3.453 MB / 318.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)