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.005504/0.005504, allocations: 103.6 kB / 15.73 MB, free: 6.039 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.001156/0.001156, allocations: 190.7 kB / 16.67 MB, free: 5.973 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2659/0.2659, allocations: 22.35 MB / 312.9 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 58.47 kB / 437.1 MB, free: 33.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1456, allocations: 54.97 MB / 492 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.003364/0.149, allocations: 2.092 MB / 494.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004617/0.1495, allocations: 179.4 kB / 494.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.1496, allocations: 7.938 kB / 494.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.313e-05/0.1497, allocations: 19.78 kB / 494.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.1499, allocations: 67.41 kB / 494.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.1501, allocations: 39.89 kB / 494.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.1504, allocations: 214.9 kB / 494.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003032/0.1507, allocations: 108.5 kB / 494.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.1508, allocations: 79.66 kB / 494.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.151, allocations: 91.55 kB / 494.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.442e-05/0.1511, allocations: 20 kB / 494.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.807e-05/0.1511, allocations: 16 kB / 495 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.379e-05/0.1512, allocations: 31.86 kB / 495 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.866e-05/0.1513, allocations: 91.55 kB / 495.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.1515, allocations: 195.3 kB / 495.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.1516, allocations: 3.938 kB / 495.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.1516, allocations: 3.938 kB / 495.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.1516, allocations: 3.938 kB / 495.3 MB, free: 13.96 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.0007423/0.1523, allocations: 478.9 kB / 495.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.1524, allocations: 12.02 kB / 495.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.114e-05/0.1525, allocations: 24.66 kB / 495.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/0.1529, allocations: 228.8 kB / 496 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.1529, allocations: 16.59 kB / 496 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.153, allocations: 16.28 kB / 496 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.1532, allocations: 128.4 kB / 496.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1533, allocations: 192 / 496.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.1533, allocations: 15.92 kB / 496.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1533, allocations: 0 / 496.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.1535, allocations: 76.81 kB / 496.3 MB, free: 12.89 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.0009755/0.1545, allocations: 0.6466 MB / 496.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.1546, allocations: 50.56 kB / 497 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.477e-05/0.1547, allocations: 28.94 kB / 497 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.1547, allocations: 0 / 497 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.1547, allocations: 30.56 kB / 497 MB, free: 12.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.1547, allocations: 3.938 kB / 497 MB, free: 12.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002613/0.155, allocations: 89.48 kB / 497.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.155, allocations: 51.41 kB / 497.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.1553, allocations: 221 kB / 497.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.1553, allocations: 25.7 kB / 497.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.1554, allocations: 151.9 kB / 497.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.1554, allocations: 15.73 kB / 497.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.1555, allocations: 25.72 kB / 497.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1556, allocations: 326.8 kB / 497.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-05/0.1557, allocations: 19.98 kB / 497.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.775e-05/0.1557, allocations: 51.36 kB / 498 MB, free: 10.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.156, allocations: 103.5 kB / 498.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.156, allocations: 0 / 498.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001779/0.1562, allocations: 105.4 kB / 498.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1563, allocations: 4 kB / 498.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1563, allocations: 4.125 kB / 498.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.1563, allocations: 12.05 kB / 498.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.1565, allocations: 39.92 kB / 498.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.1565, allocations: 3.938 kB / 498.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.372e-05/0.1566, allocations: 15.84 kB / 498.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1566, allocations: 7.938 kB / 498.3 MB, free: 10.68 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.0001603/0.1568, allocations: 133.7 kB / 498.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.1569, allocations: 15.81 kB / 498.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.1569, allocations: 17.23 kB / 498.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1569, allocations: 0 / 498.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1569, allocations: 0 / 498.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1569, allocations: 4 kB / 498.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005642/0.1575, allocations: 416.1 kB / 498.8 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1575, allocations: 0 / 498.8 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.012e-05/0.1576, allocations: 15.94 kB / 498.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1576, allocations: 0 / 498.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.1576, allocations: 7.922 kB / 498.9 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1576, allocations: 0 / 498.9 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1576, allocations: 8.062 kB / 498.9 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.1579, allocations: 197.1 kB / 499.1 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.39e-05/0.158, allocations: 88.95 kB / 499.1 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.1581, allocations: 7.938 kB / 499.2 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.41e-05/0.1582, allocations: 4 kB / 499.2 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-05/0.1582, allocations: 7.922 kB / 499.2 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.1582, allocations: 4 kB / 499.2 MB, free: 9.656 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.1583, allocations: 160.5 kB / 499.3 MB, free: 9.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1583, allocations: 0 / 499.3 MB, free: 9.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.1586, allocations: 43.91 kB / 499.4 MB, free: 9.457 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.0001301/0.1588, allocations: 95.23 kB / 499.5 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.1589, allocations: 47.92 kB / 499.5 MB, free: 9.309 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1589, allocations: 0 / 499.5 MB, free: 9.309 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.73e-05/0.159, allocations: 15.94 kB / 499.5 MB, free: 9.293 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.1593, allocations: 32.97 kB / 499.6 MB, free: 9.262 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000913/0.1603, allocations: 412 kB / 500 MB, free: 8.828 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.1606, allocations: 0.728 MB / 0.489 GB, free: 8.074 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.347e-05/0.1607, allocations: 13.55 kB / 0.489 GB, free: 8.059 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.898e-05/0.1607, allocations: 23.38 kB / 0.489 GB, free: 8.035 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1607, allocations: 0 / 0.489 GB, free: 8.035 MB / 366.1 MB Notification: Performance of Templates: time 0.004395/0.1651, allocations: 1.554 MB / 0.4905 GB, free: 6.504 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)