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.00113/0.00113, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00129/0.00129, allocations: 193 kB / 16.13 MB, free: 6.652 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.347/1.347, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1941/0.1941, allocations: 22.35 MB / 312.3 MB, free: 12.68 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.91 kB / 380.1 MB, free: 11.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2504, allocations: 54.94 MB / 435 MB, free: 39.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.002503/0.2529, allocations: 2.129 MB / 437.2 MB, free: 38.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002775/0.2532, allocations: 166 kB / 437.3 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.886e-05/0.2533, allocations: 2.688 kB / 437.3 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.686e-05/0.2534, allocations: 16.91 kB / 437.3 MB, free: 38.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.2535, allocations: 47.45 kB / 437.4 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001185/0.2536, allocations: 27.55 kB / 437.4 MB, free: 38.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.2538, allocations: 169 kB / 437.6 MB, free: 37.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.254, allocations: 87.12 kB / 437.7 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.873e-05/0.254, allocations: 57.31 kB / 437.7 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.806e-05/0.2541, allocations: 65.55 kB / 437.8 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.2542, allocations: 8.438 kB / 437.8 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.147e-05/0.2542, allocations: 8.469 kB / 437.8 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.736e-05/0.2543, allocations: 25.89 kB / 437.8 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.426e-05/0.2543, allocations: 74.11 kB / 437.9 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.2545, allocations: 145.9 kB / 438 MB, free: 37.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2545, allocations: 0 / 438 MB, free: 37.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.2545, allocations: 0 / 438 MB, free: 37.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.2545, allocations: 4 kB / 438 MB, free: 37.72 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.0004839/0.255, allocations: 441 kB / 438.5 MB, free: 37.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.255, allocations: 12.88 kB / 438.5 MB, free: 37.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.2551, allocations: 14.84 kB / 438.5 MB, free: 37.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.2553, allocations: 224.8 kB / 438.7 MB, free: 37.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.2553, allocations: 7.031 kB / 438.7 MB, free: 37.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.2553, allocations: 12.31 kB / 438.7 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.2555, allocations: 122.5 kB / 438.9 MB, free: 36.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2555, allocations: 192 / 438.9 MB, free: 36.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.2555, allocations: 7.938 kB / 438.9 MB, free: 36.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.2555, allocations: 6.5 kB / 438.9 MB, free: 36.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.2557, allocations: 65.03 kB / 438.9 MB, free: 36.94 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.0007889/0.2565, allocations: 0.7731 MB / 439.7 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.2566, allocations: 47.81 kB / 439.8 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.939e-05/0.2567, allocations: 18.42 kB / 439.8 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.2567, allocations: 11.78 kB / 439.8 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.2567, allocations: 38.5 kB / 439.8 MB, free: 36.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.2567, allocations: 0 / 439.8 MB, free: 36.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002089/0.2569, allocations: 69.22 kB / 439.9 MB, free: 36.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.257, allocations: 54.09 kB / 440 MB, free: 35.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.2571, allocations: 198.3 kB / 440.1 MB, free: 35.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.2571, allocations: 25.7 kB / 440.2 MB, free: 35.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.2572, allocations: 123.2 kB / 440.3 MB, free: 35.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.2572, allocations: 21.62 kB / 440.3 MB, free: 35.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.2572, allocations: 16.62 kB / 440.3 MB, free: 35.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.132e-05/0.2573, allocations: 327.8 kB / 440.6 MB, free: 35.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.186e-05/0.2574, allocations: 12.11 kB / 440.7 MB, free: 35.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.824e-05/0.2574, allocations: 31.53 kB / 440.7 MB, free: 35.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002955/0.2577, allocations: 84.3 kB / 440.8 MB, free: 35.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2577, allocations: 0 / 440.8 MB, free: 35.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001273/0.2578, allocations: 92.27 kB / 440.9 MB, free: 35.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.2579, allocations: 6.938 kB / 440.9 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2579, allocations: 0 / 440.9 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.2579, allocations: 2.844 kB / 440.9 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.504e-05/0.258, allocations: 12.44 kB / 440.9 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.258, allocations: 2.875 kB / 440.9 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.441e-05/0.2581, allocations: 14.84 kB / 440.9 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.2581, allocations: 0 / 440.9 MB, free: 35.2 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = max(0.0, 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: 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.0001083/0.2582, allocations: 129.8 kB / 441 MB, free: 35.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.2583, allocations: 13.72 kB / 441 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/0.2583, allocations: 22.3 kB / 441.1 MB, free: 35.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2583, allocations: 4.125 kB / 441.1 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2583, allocations: 0 / 441.1 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2583, allocations: 7.984 kB / 441.1 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.2585, allocations: 209.3 kB / 441.3 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2585, allocations: 3.938 kB / 441.3 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.372e-05/0.2586, allocations: 11.81 kB / 441.3 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2586, allocations: 0 / 441.3 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.2586, allocations: 0 / 441.3 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.2586, allocations: 3.938 kB / 441.3 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2586, allocations: 2.75 kB / 441.3 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.2588, allocations: 180 kB / 441.5 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.516e-05/0.2588, allocations: 95.39 kB / 441.6 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.2589, allocations: 6.656 kB / 441.6 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.259, allocations: 0 / 441.6 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.259, allocations: 6.016 kB / 441.6 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.259, allocations: 0 / 441.6 MB, free: 34.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.46e-05/0.2591, allocations: 152.4 kB / 441.7 MB, free: 34.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2591, allocations: 0 / 441.7 MB, free: 34.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002377/0.2593, allocations: 24.47 kB / 441.8 MB, free: 34.45 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 7.278e-05/0.2594, allocations: 97.56 kB / 441.9 MB, free: 34.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001163/0.2595, allocations: 33.59 kB / 441.9 MB, free: 34.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2595, allocations: 0 / 441.9 MB, free: 34.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.218e-05/0.2596, allocations: 15.66 kB / 441.9 MB, free: 34.35 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.2599, allocations: 35.5 kB / 441.9 MB, free: 34.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005272/0.2604, allocations: 387.9 kB / 442.3 MB, free: 34.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.2606, allocations: 0.711 MB / 443 MB, free: 33.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.856e-05/0.2607, allocations: 12.17 kB / 443 MB, free: 33.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.2607, allocations: 16.91 kB / 443.1 MB, free: 33.34 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2607, allocations: 0 / 443.1 MB, free: 33.34 MB / 350.1 MB Notification: Performance of Templates: time 0.003446/0.2641, allocations: 1.305 MB / 444.4 MB, free: 33.23 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)