Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_001.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_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_001") translateModel(AES.Devel_test_models.Test_header_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0051/0.0051, allocations: 100.4 kB / 15.87 MB, free: 6.301 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.001286/0.001286, allocations: 197.7 kB / 16.79 MB, free: 6.234 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.317/1.317, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1975/0.1975, allocations: 22.35 MB / 313 MB, free: 12.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001246, allocations: 63.91 kB / 380.8 MB, free: 11.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.219, allocations: 54.94 MB / 435.7 MB, free: 39.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.002478/0.2215, allocations: 2.298 MB / 438 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003167/0.2219, allocations: 204 kB / 438.2 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.083e-05/0.222, allocations: 6.438 kB / 438.2 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.442e-05/0.222, allocations: 20.75 kB / 438.2 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.2222, allocations: 58.02 kB / 438.3 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001104/0.2223, allocations: 26.19 kB / 438.3 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.2224, allocations: 207.5 kB / 438.5 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.2227, allocations: 106.4 kB / 438.6 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.229e-05/0.2227, allocations: 76.27 kB / 438.7 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.135e-05/0.2228, allocations: 82.14 kB / 438.8 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.2229, allocations: 11.47 kB / 438.8 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.241e-05/0.2229, allocations: 10.31 kB / 438.8 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.502e-05/0.2229, allocations: 36.3 kB / 438.8 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.866e-05/0.223, allocations: 92.27 kB / 438.9 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.2231, allocations: 143.4 kB / 439.1 MB, free: 37.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2231, allocations: 0 / 439.1 MB, free: 37.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2231, allocations: 3.281 kB / 439.1 MB, free: 37.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.2232, allocations: 2.594 kB / 439.1 MB, free: 37.53 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0004718/0.2236, allocations: 473.2 kB / 439.5 MB, free: 37.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.783e-05/0.2237, allocations: 15.12 kB / 439.5 MB, free: 37.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.2237, allocations: 21.66 kB / 439.6 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.2239, allocations: 238.7 kB / 439.8 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.2239, allocations: 9.938 kB / 439.8 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.2239, allocations: 12.44 kB / 439.8 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.2241, allocations: 135 kB / 439.9 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.2241, allocations: 192 / 439.9 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.2242, allocations: 7.938 kB / 439.9 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2242, allocations: 5.125 kB / 440 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.2243, allocations: 77.16 kB / 440 MB, free: 36.71 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) => Select value from header.T(start = header.Tstart = 293.15) for variable: header.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006997/0.225, allocations: 0.6525 MB / 440.7 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.2252, allocations: 52.98 kB / 440.7 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.466e-05/0.2252, allocations: 25.39 kB / 440.8 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.2252, allocations: 0 / 440.8 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.051e-05/0.2252, allocations: 36.62 kB / 440.8 MB, free: 36.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.2253, allocations: 3.984 kB / 440.8 MB, free: 36.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002315/0.2255, allocations: 84.77 kB / 440.9 MB, free: 35.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.514e-05/0.2255, allocations: 57.55 kB / 440.9 MB, free: 35.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.2257, allocations: 223.9 kB / 441.2 MB, free: 35.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.264e-06/0.2257, allocations: 29.7 kB / 441.2 MB, free: 35.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.2257, allocations: 145.7 kB / 441.3 MB, free: 35.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.233e-05/0.2258, allocations: 11.75 kB / 441.3 MB, free: 35.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.2258, allocations: 34.42 kB / 441.4 MB, free: 35.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.744e-05/0.2258, allocations: 329.5 kB / 441.7 MB, free: 35.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.802e-05/0.2259, allocations: 15.88 kB / 441.7 MB, free: 35.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.993e-05/0.226, allocations: 42.34 kB / 441.8 MB, free: 35.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.2262, allocations: 97.58 kB / 441.8 MB, free: 35.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2262, allocations: 0 / 441.8 MB, free: 35.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001651/0.2264, allocations: 112.5 kB / 442 MB, free: 35.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.2264, allocations: 3.969 kB / 442 MB, free: 35.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2264, allocations: 7.188 kB / 442 MB, free: 35.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.2264, allocations: 0 / 442 MB, free: 35.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.2267, allocations: 41.05 kB / 442 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2267, allocations: 2.812 kB / 442 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.759e-05/0.2268, allocations: 14.59 kB / 442 MB, free: 35.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.2268, allocations: 10.62 kB / 442 MB, free: 35.05 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = 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: 4 * 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 (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 prepare postOptimizeDAE: time 0.0001035/0.2269, allocations: 143.6 kB / 442.2 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.2269, allocations: 13.22 kB / 442.2 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.227, allocations: 18.22 kB / 442.2 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.227, allocations: 2.781 kB / 442.2 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.227, allocations: 3.938 kB / 442.2 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.227, allocations: 0 / 442.2 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004287/0.2274, allocations: 411.4 kB / 442.6 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2275, allocations: 0 / 442.6 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.395e-05/0.2275, allocations: 12.62 kB / 442.6 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2276, allocations: 2.812 kB / 442.6 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.2276, allocations: 3.938 kB / 442.6 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2276, allocations: 2.5 kB / 442.6 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.2276, allocations: 0 / 442.6 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.2278, allocations: 200.6 kB / 442.8 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.2278, allocations: 98.09 kB / 442.9 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.2278, allocations: 3.938 kB / 442.9 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.228, allocations: 2.781 kB / 442.9 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.228, allocations: 6.516 kB / 442.9 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.228, allocations: 0 / 442.9 MB, free: 34.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.901e-05/0.2281, allocations: 162.4 kB / 443.1 MB, free: 34.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2281, allocations: 4.062 kB / 443.1 MB, free: 34.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.2284, allocations: 41.06 kB / 443.1 MB, free: 34.12 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 5.943e-05/0.2285, allocations: 90.78 kB / 443.2 MB, free: 34.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.2286, allocations: 52.38 kB / 443.3 MB, free: 34.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2286, allocations: 2.938 kB / 443.3 MB, free: 34.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.471e-05/0.2286, allocations: 18.16 kB / 443.3 MB, free: 34.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.229, allocations: 32.78 kB / 443.3 MB, free: 33.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007453/0.2297, allocations: 488.4 kB / 443.8 MB, free: 33.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.2299, allocations: 0.7233 MB / 444.5 MB, free: 32.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.2299, allocations: 16.38 kB / 444.6 MB, free: 32.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2299, allocations: 0 / 444.6 MB, free: 32.93 MB / 350.1 MB Notification: Performance of Templates: time 0.002791/0.2327, allocations: 1.904 MB / 446.5 MB, free: 32.79 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_header_001.makefile (rm -f AES_AES.Devel_test_models.Test_header_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_001.pipe >> ../files/AES_AES.Devel_test_models.Test_header_001.sim & ./AES_AES.Devel_test_models.Test_header_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_header_001.pipe 2>&1)