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.006611/0.006611, allocations: 104.4 kB / 15.74 MB, free: 6.441 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.001321/0.001321, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2401/0.2401, allocations: 22.36 MB / 312.9 MB, free: 12.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 65.8 kB / 437.1 MB, free: 34.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1576, allocations: 54.97 MB / 492 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.00353/0.1612, allocations: 2.098 MB / 494.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006509/0.1619, allocations: 179.3 kB / 494.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.1621, allocations: 0 / 494.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.1622, allocations: 31.7 kB / 494.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002961/0.1626, allocations: 71.41 kB / 494.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.1628, allocations: 35.95 kB / 494.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003305/0.1631, allocations: 218.9 kB / 494.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003117/0.1635, allocations: 108.5 kB / 494.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.1637, allocations: 83.66 kB / 494.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.1638, allocations: 83.58 kB / 494.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.1638, allocations: 16 kB / 494.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.278e-05/0.1639, allocations: 16 kB / 495 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.01e-05/0.1639, allocations: 35.8 kB / 495 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.1641, allocations: 99.52 kB / 495.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.1643, allocations: 195.3 kB / 495.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.1643, allocations: 0 / 495.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1643, allocations: 3.938 kB / 495.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1643, allocations: 0 / 495.3 MB, free: 13.92 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0007038/0.165, allocations: 478.9 kB / 495.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1651, allocations: 8.031 kB / 495.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.495e-05/0.1652, allocations: 24.66 kB / 495.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.1655, allocations: 232.7 kB / 496 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.1655, allocations: 12.66 kB / 496 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.1656, allocations: 16.28 kB / 496 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.1658, allocations: 132.4 kB / 496.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.1658, allocations: 4.125 kB / 496.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.1659, allocations: 7.938 kB / 496.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1659, allocations: 4 kB / 496.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.1661, allocations: 80.75 kB / 496.3 MB, free: 12.84 MB / 366.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.0009437/0.167, allocations: 0.6439 MB / 496.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.1672, allocations: 54.5 kB / 497 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.119e-05/0.1672, allocations: 24.86 kB / 497 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.1672, allocations: 0 / 497 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.1673, allocations: 30.56 kB / 497 MB, free: 11.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1673, allocations: 0 / 497 MB, free: 11.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.000261/0.1675, allocations: 89.58 kB / 497.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.1676, allocations: 55.34 kB / 497.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.1678, allocations: 221 kB / 497.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.1679, allocations: 29.69 kB / 497.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.164e-05/0.168, allocations: 147.9 kB / 497.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.168, allocations: 15.75 kB / 497.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.168, allocations: 25.72 kB / 497.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1682, allocations: 334.8 kB / 497.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.792e-05/0.1682, allocations: 12 kB / 497.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.076e-05/0.1683, allocations: 43.42 kB / 498 MB, free: 10.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.1686, allocations: 103.5 kB / 498.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1686, allocations: 0 / 498.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001962/0.1688, allocations: 113.4 kB / 498.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1688, allocations: 4 kB / 498.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1688, allocations: 3.938 kB / 498.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.1689, allocations: 8.062 kB / 498.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.1691, allocations: 35.98 kB / 498.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1691, allocations: 0 / 498.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.078e-05/0.1692, allocations: 15.84 kB / 498.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.1692, allocations: 7.938 kB / 498.3 MB, free: 10.65 MB / 366.1 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = 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.0001586/0.1694, allocations: 137.7 kB / 498.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.1694, allocations: 15.88 kB / 498.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/0.1695, allocations: 21.19 kB / 498.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1695, allocations: 192 / 498.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1695, allocations: 0 / 498.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1695, allocations: 7.922 kB / 498.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005386/0.1701, allocations: 412.1 kB / 498.8 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1701, allocations: 0 / 498.8 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.189e-05/0.1702, allocations: 11.98 kB / 498.8 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1702, allocations: 4 kB / 498.9 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.1702, allocations: 3.938 kB / 498.9 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1702, allocations: 0 / 498.9 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1702, allocations: 4 kB / 498.9 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.1705, allocations: 201.1 kB / 499.1 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.574e-05/0.1705, allocations: 92.95 kB / 499.1 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.1706, allocations: 3.938 kB / 499.2 MB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.344e-05/0.1707, allocations: 7.984 kB / 499.2 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.1707, allocations: 0 / 499.2 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.1707, allocations: 4 kB / 499.2 MB, free: 9.625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.1708, allocations: 164.5 kB / 499.3 MB, free: 9.465 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1708, allocations: 0 / 499.3 MB, free: 9.465 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.1711, allocations: 43.91 kB / 499.4 MB, free: 9.422 MB / 366.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 0.000113/0.1712, allocations: 91.25 kB / 499.5 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001674/0.1714, allocations: 47.92 kB / 499.5 MB, free: 9.277 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1714, allocations: 0 / 499.5 MB, free: 9.277 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.88e-05/0.1715, allocations: 19.92 kB / 499.5 MB, free: 9.258 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.1718, allocations: 43.89 kB / 499.6 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009029/0.1727, allocations: 407.9 kB / 500 MB, free: 8.789 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.173, allocations: 0.7241 MB / 0.489 GB, free: 8.039 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.777e-05/0.1731, allocations: 13.55 kB / 0.489 GB, free: 8.023 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.1732, allocations: 23.38 kB / 0.489 GB, free: 8 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1732, allocations: 0 / 0.489 GB, free: 8 MB / 366.1 MB Notification: Performance of Templates: time 0.00458/0.1778, allocations: 1.56 MB / 0.4905 GB, free: 6.465 MB / 366.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)