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.00133/0.001329, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.497/1.497, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2217/0.2217, allocations: 22.35 MB / 312.7 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002587/0.002587, allocations: 63.89 kB / 380.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.352, allocations: 54.95 MB / 435.8 MB, free: 39.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.003296/0.3554, allocations: 1.943 MB / 437.7 MB, free: 38.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003483/0.3558, allocations: 149.3 kB / 437.9 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.3559, allocations: 2.344 kB / 437.9 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.166e-05/0.3559, allocations: 22.05 kB / 437.9 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.3561, allocations: 57.06 kB / 437.9 MB, free: 38.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.3562, allocations: 28.14 kB / 438 MB, free: 38.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.3564, allocations: 172.1 kB / 438.1 MB, free: 38.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.3566, allocations: 90.41 kB / 438.2 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.536e-05/0.3567, allocations: 60.28 kB / 438.3 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.3568, allocations: 68.52 kB / 438.3 MB, free: 37.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.3568, allocations: 14.53 kB / 438.4 MB, free: 37.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.694e-05/0.3569, allocations: 8.531 kB / 438.4 MB, free: 37.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.3569, allocations: 28.38 kB / 438.4 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.415e-05/0.357, allocations: 74.22 kB / 438.5 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.3571, allocations: 155.3 kB / 438.6 MB, free: 37.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3571, allocations: 0 / 438.6 MB, free: 37.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3571, allocations: 4 kB / 438.6 MB, free: 37.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.3571, allocations: 0 / 438.6 MB, free: 37.85 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.0004772/0.3576, allocations: 439.5 kB / 439 MB, free: 37.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.3577, allocations: 11 kB / 439.1 MB, free: 37.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.3577, allocations: 16.62 kB / 439.1 MB, free: 37.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.3579, allocations: 216.4 kB / 439.3 MB, free: 37.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.3579, allocations: 9.531 kB / 439.3 MB, free: 37.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.3579, allocations: 9.594 kB / 439.3 MB, free: 37.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.3581, allocations: 124.6 kB / 439.4 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.3581, allocations: 192 / 439.4 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.3582, allocations: 3.938 kB / 439.4 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3582, allocations: 2.625 kB / 439.4 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.3583, allocations: 68.55 kB / 439.5 MB, free: 37.08 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.0008183/0.3591, allocations: 0.7812 MB / 440.3 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.3593, allocations: 53.44 kB / 440.3 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.387e-05/0.3593, allocations: 25.72 kB / 440.4 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.3593, allocations: 6.688 kB / 440.4 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.3594, allocations: 30.56 kB / 440.4 MB, free: 36.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.3594, allocations: 0 / 440.4 MB, free: 36.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002418/0.3596, allocations: 74.7 kB / 440.5 MB, free: 36.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.3596, allocations: 58.31 kB / 440.5 MB, free: 36.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.3598, allocations: 192.3 kB / 440.7 MB, free: 35.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.3598, allocations: 29.7 kB / 440.7 MB, free: 35.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.677e-05/0.3599, allocations: 126.5 kB / 440.9 MB, free: 35.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.3599, allocations: 15.75 kB / 440.9 MB, free: 35.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.3599, allocations: 23.7 kB / 440.9 MB, free: 35.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.248e-05/0.36, allocations: 325.4 kB / 441.2 MB, free: 35.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.871e-05/0.3601, allocations: 13.31 kB / 441.2 MB, free: 35.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.722e-05/0.3601, allocations: 29.48 kB / 441.3 MB, free: 35.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.3604, allocations: 82.88 kB / 441.3 MB, free: 35.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3604, allocations: 0 / 441.3 MB, free: 35.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00013/0.3605, allocations: 93.8 kB / 441.4 MB, free: 35.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3606, allocations: 6.312 kB / 441.4 MB, free: 35.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.3606, allocations: 0 / 441.4 MB, free: 35.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.3606, allocations: 2.812 kB / 441.4 MB, free: 35.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.208e-05/0.3607, allocations: 16.12 kB / 441.5 MB, free: 35.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3607, allocations: 3.062 kB / 441.5 MB, free: 35.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.055e-05/0.3608, allocations: 3.906 kB / 441.5 MB, free: 35.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.3608, allocations: 3.156 kB / 441.5 MB, free: 35.33 MB / 350.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: 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.0001019/0.3609, allocations: 131.1 kB / 441.6 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.3609, allocations: 13.22 kB / 441.6 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.361, allocations: 13.84 kB / 441.6 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.361, allocations: 4 kB / 441.6 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.361, allocations: 2.75 kB / 441.6 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.361, allocations: 3.281 kB / 441.6 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.3612, allocations: 212.8 kB / 441.8 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3612, allocations: 3.938 kB / 441.8 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.568e-05/0.3613, allocations: 9.312 kB / 441.9 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3613, allocations: 0 / 441.9 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.3613, allocations: 2.688 kB / 441.9 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.3613, allocations: 0 / 441.9 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3613, allocations: 0 / 441.9 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.3615, allocations: 181.3 kB / 442 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.3615, allocations: 103.1 kB / 442.1 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.3616, allocations: 3 kB / 442.1 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.228e-05/0.3617, allocations: 0 / 442.1 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.3617, allocations: 0 / 442.1 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.3617, allocations: 2.75 kB / 442.1 MB, free: 34.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.793e-05/0.3618, allocations: 149.1 kB / 442.3 MB, free: 34.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3618, allocations: 2.844 kB / 442.3 MB, free: 34.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.362, allocations: 24.59 kB / 442.3 MB, free: 34.58 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.651e-05/0.3621, allocations: 95.34 kB / 442.4 MB, free: 34.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.3622, allocations: 43.95 kB / 442.5 MB, free: 34.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3623, allocations: 0 / 442.5 MB, free: 34.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.026e-05/0.3623, allocations: 16.02 kB / 442.5 MB, free: 34.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.3626, allocations: 35.53 kB / 442.5 MB, free: 34.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005054/0.3631, allocations: 345.1 kB / 442.8 MB, free: 34.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.3632, allocations: 0.7169 MB / 443.6 MB, free: 33.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.169e-05/0.3633, allocations: 17.31 kB / 443.6 MB, free: 33.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.3633, allocations: 13.16 kB / 443.6 MB, free: 33.5 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3633, allocations: 0 / 443.6 MB, free: 33.5 MB / 350.1 MB Notification: Performance of Templates: time 0.003464/0.3668, allocations: 1.368 MB / 445 MB, free: 33.38 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)