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: "" <> buildModelFMU(AES.Devel_test_models.Test_header_002,fileNamePrefix="AES_AES_Devel_test_models_Test_header_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_header_002,fileNamePrefix="AES_AES_Devel_test_models_Test_header_002",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007737/0.0007737, allocations: 91.84 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.005419/0.005419, allocations: 169.9 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.337/1.337, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1903/0.1903, allocations: 22.35 MB / 313.8 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004817/0.0004817, allocations: 8 kB / 382.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2429, allocations: 55.97 MB / 438.7 MB, free: 39.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.001445/0.2444, allocations: 1.775 MB / 440.5 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000255/0.2447, allocations: 164.7 kB / 440.6 MB, free: 38.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.546e-05/0.2448, allocations: 5.312 kB / 440.6 MB, free: 38.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.2448, allocations: 14.77 kB / 440.6 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.2449, allocations: 54.44 kB / 440.7 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/0.245, allocations: 21.84 kB / 440.7 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.2452, allocations: 168.2 kB / 440.9 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.2453, allocations: 79.84 kB / 440.9 MB, free: 37.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.784e-05/0.2454, allocations: 57.17 kB / 441 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.663e-05/0.2455, allocations: 64.42 kB / 441.1 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.2455, allocations: 6.281 kB / 441.1 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.183e-05/0.2456, allocations: 7.688 kB / 441.1 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/0.2456, allocations: 24.42 kB / 441.1 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.039e-05/0.2457, allocations: 94.89 kB / 441.2 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.2458, allocations: 145.1 kB / 441.3 MB, free: 37.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2458, allocations: 0 / 441.3 MB, free: 37.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2458, allocations: 4 kB / 441.3 MB, free: 37.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.2458, allocations: 0 / 441.3 MB, free: 37.8 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.0003845/0.2462, allocations: 418.6 kB / 441.8 MB, free: 37.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.2462, allocations: 14.25 kB / 441.8 MB, free: 37.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.107e-05/0.2463, allocations: 40.56 kB / 441.8 MB, free: 37.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.2463, allocations: 16.47 kB / 441.8 MB, free: 37.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.2465, allocations: 223.8 kB / 442 MB, free: 37.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.2465, allocations: 10.03 kB / 442.1 MB, free: 37.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.2465, allocations: 13.94 kB / 442.1 MB, free: 37.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.2467, allocations: 123.5 kB / 442.2 MB, free: 37.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.2467, allocations: 3.938 kB / 442.2 MB, free: 37.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.2467, allocations: 7.031 kB / 442.2 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.2467, allocations: 0 / 442.2 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.2468, allocations: 64.69 kB / 442.3 MB, free: 36.98 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.0006953/0.2475, allocations: 0.7678 MB / 443 MB, free: 36.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.2477, allocations: 50.89 kB / 443.1 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.776e-05/0.2477, allocations: 21.75 kB / 443.1 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.2477, allocations: 2.938 kB / 443.1 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.115e-05/0.2478, allocations: 38.5 kB / 443.1 MB, free: 36.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2478, allocations: 0 / 443.1 MB, free: 36.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001786/0.2479, allocations: 71.03 kB / 443.2 MB, free: 36.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.592e-05/0.248, allocations: 55.38 kB / 443.3 MB, free: 36.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.2481, allocations: 200.1 kB / 443.5 MB, free: 35.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.575e-06/0.2481, allocations: 25.7 kB / 443.5 MB, free: 35.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.358e-05/0.2482, allocations: 127.4 kB / 443.6 MB, free: 35.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.109e-05/0.2482, allocations: 13.89 kB / 443.6 MB, free: 35.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.131e-05/0.2482, allocations: 13.72 kB / 443.6 MB, free: 35.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.702e-05/0.2482, allocations: 321.8 kB / 443.9 MB, free: 35.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.705e-05/0.2483, allocations: 15.69 kB / 444 MB, free: 35.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.636e-05/0.2483, allocations: 33.42 kB / 444 MB, free: 35.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.2486, allocations: 90.19 kB / 444.1 MB, free: 35.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2486, allocations: 0 / 444.1 MB, free: 35.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001264/0.2487, allocations: 95.77 kB / 444.2 MB, free: 35.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.2488, allocations: 5.125 kB / 444.2 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.2488, allocations: 0 / 444.2 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.2488, allocations: 0 / 444.2 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.105e-05/0.2489, allocations: 18.78 kB / 444.2 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.2489, allocations: 2.531 kB / 444.2 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.272e-05/0.249, allocations: 2.625 kB / 444.2 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.249, allocations: 2.656 kB / 444.2 MB, free: 35.25 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.0001023/0.2491, allocations: 141.9 kB / 444.3 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.2491, allocations: 24.25 kB / 444.4 MB, free: 35.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.2492, allocations: 14.98 kB / 444.4 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.2492, allocations: 4 kB / 444.4 MB, free: 35.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2492, allocations: 0 / 444.4 MB, free: 35.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.2492, allocations: 2.844 kB / 444.4 MB, free: 35.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.2493, allocations: 208.3 kB / 444.6 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2494, allocations: 0 / 444.6 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.832e-05/0.2494, allocations: 11.41 kB / 444.6 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.2495, allocations: 0 / 444.6 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.2495, allocations: 0 / 444.6 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2495, allocations: 0 / 444.6 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2495, allocations: 3.656 kB / 444.6 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.2496, allocations: 180.5 kB / 444.8 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.843e-05/0.2497, allocations: 94.64 kB / 444.9 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.2497, allocations: 4 kB / 444.9 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.2498, allocations: 2.469 kB / 444.9 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.2498, allocations: 3.938 kB / 444.9 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.2498, allocations: 5.844 kB / 444.9 MB, free: 34.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.97e-05/0.2499, allocations: 145.8 kB / 445 MB, free: 34.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2499, allocations: 0 / 445 MB, free: 34.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.2502, allocations: 25.78 kB / 445.1 MB, free: 34.5 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 0.000267/0.2504, allocations: 0.7044 MB / 445.8 MB, free: 33.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001/0.2506, allocations: 41.09 kB / 445.8 MB, free: 33.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2506, allocations: 0 / 445.8 MB, free: 33.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.093e-05/0.2506, allocations: 16.66 kB / 445.8 MB, free: 33.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.2509, allocations: 37.78 kB / 445.9 MB, free: 33.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.2522, allocations: 1.868 MB / 447.7 MB, free: 32.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.468e-05/0.2523, allocations: 0.7063 MB / 448.4 MB, free: 31.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.342e-05/0.2524, allocations: 20.19 kB / 448.5 MB, free: 31.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.436e-05/0.2525, allocations: 43.84 kB / 448.5 MB, free: 31.56 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2525, allocations: 0 / 448.5 MB, free: 31.56 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2533/0.5057, allocations: 2.713 MB / 451.2 MB, free: 31.34 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/0.5059, allocations: 174.9 kB / 451.4 MB, free: 31.08 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/2.517, allocations: 0 / 451.4 MB, free: 31.08 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_header_002_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_header_002.fmu > AES_AES.Devel_test_models.Test_header_002.pipe 2>&1)