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: "" <> buildModelFMU(AES.Devel_test_models.Test_header_001,fileNamePrefix="AES_AES_Devel_test_models_Test_header_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_header_001,fileNamePrefix="AES_AES_Devel_test_models_Test_header_001",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.0009618/0.0009618, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001223/0.001223, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1939/0.1939, allocations: 22.35 MB / 313.4 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003398, allocations: 12 kB / 382 MB, free: 10.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2494, allocations: 55.97 MB / 438 MB, free: 39.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.001583/0.2511, allocations: 1.877 MB / 439.9 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002947/0.2514, allocations: 204.5 kB / 440.1 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.334e-05/0.2515, allocations: 3.344 kB / 440.1 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.491e-05/0.2515, allocations: 24.53 kB / 440.1 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.2517, allocations: 69.7 kB / 440.2 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001148/0.2518, allocations: 28.8 kB / 440.2 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.2519, allocations: 202.7 kB / 440.4 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.2521, allocations: 89.81 kB / 440.5 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.414e-05/0.2522, allocations: 69.69 kB / 440.6 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.573e-05/0.2523, allocations: 76.97 kB / 440.6 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.2524, allocations: 12.41 kB / 440.7 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.505e-05/0.2524, allocations: 13.28 kB / 440.7 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.2524, allocations: 31.06 kB / 440.7 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.2524, allocations: 61.58 kB / 440.8 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.2526, allocations: 143 kB / 440.9 MB, free: 37.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2526, allocations: 2.594 kB / 440.9 MB, free: 37.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2526, allocations: 3.938 kB / 440.9 MB, free: 37.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.2526, allocations: 0 / 440.9 MB, free: 37.14 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.0004118/0.253, allocations: 447.1 kB / 441.3 MB, free: 36.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.253, allocations: 7.969 kB / 441.4 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.493e-05/0.2531, allocations: 51.09 kB / 441.4 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.2531, allocations: 22.12 kB / 441.4 MB, free: 36.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.2533, allocations: 230.1 kB / 441.7 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.2534, allocations: 15.12 kB / 441.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.2534, allocations: 12.62 kB / 441.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.2536, allocations: 129.1 kB / 441.8 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.2536, allocations: 2.719 kB / 441.8 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.2536, allocations: 4 kB / 441.8 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2537, allocations: 2.75 kB / 441.8 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.2538, allocations: 79.48 kB / 441.9 MB, free: 36.3 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.0007157/0.2545, allocations: 0.6581 MB / 442.5 MB, free: 35.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.2546, allocations: 55.09 kB / 442.6 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.258e-05/0.2547, allocations: 18.23 kB / 442.6 MB, free: 35.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.2547, allocations: 3.984 kB / 442.6 MB, free: 35.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.269e-05/0.2547, allocations: 30.56 kB / 442.7 MB, free: 35.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2547, allocations: 0 / 442.7 MB, free: 35.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002001/0.2549, allocations: 91.22 kB / 442.7 MB, free: 35.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.255, allocations: 51.41 kB / 442.8 MB, free: 35.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.2551, allocations: 226.2 kB / 443 MB, free: 35.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.2551, allocations: 25.7 kB / 443 MB, free: 35.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.2552, allocations: 146 kB / 443.2 MB, free: 35.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.2552, allocations: 21.91 kB / 443.2 MB, free: 35.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.2552, allocations: 0 / 443.2 MB, free: 35.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.782e-05/0.2553, allocations: 336.1 kB / 443.5 MB, free: 34.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.312e-05/0.2553, allocations: 12.41 kB / 443.5 MB, free: 34.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.329e-05/0.2554, allocations: 56.47 kB / 443.6 MB, free: 34.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.62e-05/0.2555, allocations: 22.45 kB / 443.6 MB, free: 34.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2555, allocations: 0 / 443.6 MB, free: 34.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001474/0.2556, allocations: 106.8 kB / 443.7 MB, free: 34.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.2556, allocations: 6.781 kB / 443.7 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2556, allocations: 192 / 443.7 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2557, allocations: 3.5 kB / 443.7 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.2559, allocations: 51.48 kB / 443.8 MB, free: 34.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2559, allocations: 0 / 443.8 MB, free: 34.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.925e-05/0.256, allocations: 16.94 kB / 443.8 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.256, allocations: 2.969 kB / 443.8 MB, free: 34.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.2561, allocations: 129.9 kB / 443.9 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.2562, allocations: 21.83 kB / 444 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.2562, allocations: 18.7 kB / 444 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2562, allocations: 0 / 444 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2562, allocations: 0 / 444 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2562, allocations: 0 / 444 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004133/0.2566, allocations: 417.4 kB / 444.4 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2567, allocations: 6.812 kB / 444.4 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.721e-05/0.2567, allocations: 15.16 kB / 444.4 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2567, allocations: 0 / 444.4 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.2568, allocations: 2.812 kB / 444.4 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2568, allocations: 0 / 444.4 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.2568, allocations: 3 kB / 444.4 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.2569, allocations: 198.6 kB / 444.6 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.257, allocations: 98.58 kB / 444.7 MB, free: 33.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.257, allocations: 0 / 444.7 MB, free: 33.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.2571, allocations: 6.875 kB / 444.7 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.2571, allocations: 3.75 kB / 444.7 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.2572, allocations: 2.906 kB / 444.7 MB, free: 33.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.2573, allocations: 163.8 kB / 444.9 MB, free: 33.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2573, allocations: 0 / 444.9 MB, free: 33.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000255/0.2575, allocations: 34.78 kB / 444.9 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002949/0.2578, allocations: 0.7282 MB / 445.6 MB, free: 33.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001192/0.258, allocations: 48 kB / 445.7 MB, free: 33.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.258, allocations: 7.969 kB / 445.7 MB, free: 33.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.155e-05/0.258, allocations: 14.06 kB / 445.7 MB, free: 33.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.2583, allocations: 33.7 kB / 445.7 MB, free: 33.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.2597, allocations: 1.078 MB / 446.8 MB, free: 32.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.2599, allocations: 0.7256 MB / 447.5 MB, free: 31.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.435e-05/0.2599, allocations: 23.23 kB / 447.6 MB, free: 31.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.727e-05/0.26, allocations: 48.7 kB / 447.6 MB, free: 31.62 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.26, allocations: 0 / 447.6 MB, free: 31.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01196/0.272, allocations: 3.127 MB / 450.7 MB, free: 31.38 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001369/0.2722, allocations: 158.7 kB / 450.9 MB, free: 31.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.586/1.858, allocations: 0 / 450.9 MB, free: 31.14 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_header_001_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_header_001.fmu > AES_AES.Devel_test_models.Test_header_001.pipe 2>&1) Environment - environmentSimulation: