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.000866/0.000866, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.006677/0.006678, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.437/1.437, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2377/0.2377, allocations: 22.34 MB / 313.8 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003429, allocations: 11.94 kB / 382.6 MB, free: 10.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3463, allocations: 55.97 MB / 438.6 MB, free: 39.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.002034/0.3484, allocations: 1.946 MB / 440.5 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000357/0.3488, allocations: 203.1 kB / 440.7 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.939e-05/0.3489, allocations: 2.844 kB / 440.7 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.837e-05/0.349, allocations: 24.47 kB / 440.7 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.3491, allocations: 58.47 kB / 440.8 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.3493, allocations: 28.94 kB / 440.8 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.3495, allocations: 210.5 kB / 441 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.3497, allocations: 95.42 kB / 441.1 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.89e-05/0.3498, allocations: 76.86 kB / 441.2 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.3499, allocations: 76.36 kB / 441.3 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.35, allocations: 14.47 kB / 441.3 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.887e-05/0.35, allocations: 11.25 kB / 441.3 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.24e-05/0.35, allocations: 30.88 kB / 441.3 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.594e-05/0.3501, allocations: 111.8 kB / 441.4 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.3503, allocations: 193.9 kB / 441.6 MB, free: 37.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3503, allocations: 0 / 441.6 MB, free: 37.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3503, allocations: 0 / 441.6 MB, free: 37.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3503, allocations: 2.969 kB / 441.6 MB, free: 37.18 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.0004786/0.3508, allocations: 443.4 kB / 442.1 MB, free: 36.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3509, allocations: 18.91 kB / 442.1 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.3509, allocations: 20.5 kB / 442.1 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.3511, allocations: 232.5 kB / 442.3 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.3511, allocations: 10.19 kB / 442.3 MB, free: 36.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.3512, allocations: 12.91 kB / 442.3 MB, free: 36.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.3514, allocations: 127.4 kB / 442.5 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.3514, allocations: 192 / 442.5 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.3514, allocations: 7.938 kB / 442.5 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.3514, allocations: 6.922 kB / 442.5 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.3516, allocations: 79.28 kB / 442.6 MB, free: 36.38 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.0008084/0.3524, allocations: 0.6611 MB / 443.2 MB, free: 35.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.3525, allocations: 55.8 kB / 443.3 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.725e-05/0.3526, allocations: 19.02 kB / 443.3 MB, free: 35.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.3526, allocations: 6.766 kB / 443.3 MB, free: 35.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.3526, allocations: 37.75 kB / 443.3 MB, free: 35.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3527, allocations: 0 / 443.3 MB, free: 35.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000226/0.3529, allocations: 86.08 kB / 443.4 MB, free: 35.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.3529, allocations: 51.41 kB / 443.5 MB, free: 35.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.3531, allocations: 226 kB / 443.7 MB, free: 35.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.3531, allocations: 25.7 kB / 443.7 MB, free: 35.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.3532, allocations: 153.8 kB / 443.9 MB, free: 35.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.3532, allocations: 11.75 kB / 443.9 MB, free: 35.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.3532, allocations: 16.53 kB / 443.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.392e-05/0.3533, allocations: 335.1 kB / 444.2 MB, free: 34.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.452e-05/0.3534, allocations: 15.78 kB / 444.2 MB, free: 34.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.242e-05/0.3534, allocations: 52.59 kB / 444.3 MB, free: 34.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.3537, allocations: 94.8 kB / 444.4 MB, free: 34.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3537, allocations: 0 / 444.4 MB, free: 34.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001568/0.3539, allocations: 107.9 kB / 444.5 MB, free: 34.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3539, allocations: 10 kB / 444.5 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3539, allocations: 0 / 444.5 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3539, allocations: 3.031 kB / 444.5 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.3542, allocations: 40.08 kB / 444.5 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3542, allocations: 0 / 444.5 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.395e-05/0.3543, allocations: 18.78 kB / 444.6 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.3543, allocations: 6.969 kB / 444.6 MB, free: 34.73 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.000149/0.3544, allocations: 137.4 kB / 444.7 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.3545, allocations: 16.95 kB / 444.7 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.639e-05/0.3545, allocations: 15.45 kB / 444.7 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3545, allocations: 3.984 kB / 444.7 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.3545, allocations: 0 / 444.7 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3546, allocations: 3.281 kB / 444.7 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004392/0.355, allocations: 419.8 kB / 445.1 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.355, allocations: 0 / 445.1 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.682e-05/0.3551, allocations: 13.8 kB / 445.2 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3551, allocations: 0 / 445.2 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.3551, allocations: 6.594 kB / 445.2 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3551, allocations: 0 / 445.2 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3551, allocations: 0 / 445.2 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.3553, allocations: 202.3 kB / 445.4 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.3554, allocations: 95.23 kB / 445.5 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.3554, allocations: 10.78 kB / 445.5 MB, free: 33.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.175e-05/0.3555, allocations: 0 / 445.5 MB, free: 33.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/0.3555, allocations: 3.031 kB / 445.5 MB, free: 33.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.3555, allocations: 6.391 kB / 445.5 MB, free: 33.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.3556, allocations: 166.1 kB / 445.6 MB, free: 33.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3556, allocations: 0 / 445.6 MB, free: 33.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.3559, allocations: 37.22 kB / 445.7 MB, free: 33.79 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 9.458e-05/0.356, allocations: 93.69 kB / 445.8 MB, free: 33.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000137/0.3561, allocations: 48.7 kB / 445.8 MB, free: 33.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3562, allocations: 0 / 445.8 MB, free: 33.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.386e-05/0.3562, allocations: 19.12 kB / 445.8 MB, free: 33.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.3565, allocations: 48.86 kB / 445.9 MB, free: 33.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008528/0.3574, allocations: 0.4899 MB / 446.4 MB, free: 33.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.3576, allocations: 0.7206 MB / 447.1 MB, free: 32.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.636e-05/0.3577, allocations: 17.56 kB / 447.1 MB, free: 32.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.793e-05/0.3577, allocations: 16.16 kB / 447.1 MB, free: 32.62 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3577, allocations: 0 / 447.1 MB, free: 32.62 MB / 350.1 MB Notification: Performance of Templates: time 0.003901/0.3616, allocations: 1.452 MB / 448.6 MB, free: 32.51 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)