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.001357/0.001357, 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.001501/0.001501, allocations: 196.6 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.246/1.246, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1837/0.1837, allocations: 22.34 MB / 312.7 MB, free: 12.58 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 63.91 kB / 380.9 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2265, allocations: 54.94 MB / 435.9 MB, free: 39.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.002436/0.229, allocations: 2.081 MB / 438 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003482/0.2294, allocations: 180.5 kB / 438.1 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.846e-05/0.2295, allocations: 2.594 kB / 438.1 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.54e-05/0.2295, allocations: 22.45 kB / 438.2 MB, free: 38.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.2297, allocations: 71.94 kB / 438.2 MB, free: 38.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.2298, allocations: 39.58 kB / 438.3 MB, free: 38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.23, allocations: 217.7 kB / 438.5 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.2302, allocations: 103.4 kB / 438.6 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.337e-05/0.2302, allocations: 80.28 kB / 438.7 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.2304, allocations: 90.75 kB / 438.7 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.2304, allocations: 14 kB / 438.8 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.909e-05/0.2304, allocations: 18.12 kB / 438.8 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.855e-05/0.2305, allocations: 36.89 kB / 438.8 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.109e-05/0.2305, allocations: 95.23 kB / 438.9 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.2307, allocations: 195.1 kB / 439.1 MB, free: 37.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2307, allocations: 0 / 439.1 MB, free: 37.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2307, allocations: 0 / 439.1 MB, free: 37.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.2307, allocations: 0 / 439.1 MB, free: 37.6 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.0004416/0.2311, allocations: 484.1 kB / 439.6 MB, free: 37.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.2312, allocations: 8.875 kB / 439.6 MB, free: 37.15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.022e-05/0.2312, allocations: 48.81 kB / 439.6 MB, free: 37.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.2313, allocations: 24.38 kB / 439.6 MB, free: 37.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.2314, allocations: 239.2 kB / 439.9 MB, free: 36.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.2314, allocations: 10.41 kB / 439.9 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.2315, allocations: 12.22 kB / 439.9 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.2317, allocations: 128.5 kB / 440 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.2317, allocations: 3.938 kB / 440 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.2317, allocations: 6.656 kB / 440 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2317, allocations: 2.719 kB / 440 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.2319, allocations: 87.67 kB / 440.1 MB, free: 36.73 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.0006948/0.2326, allocations: 0.6413 MB / 440.8 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.2327, allocations: 59.39 kB / 440.8 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.268e-05/0.2327, allocations: 17.27 kB / 440.8 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.2328, allocations: 0 / 440.8 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.132e-05/0.2328, allocations: 40.86 kB / 440.9 MB, free: 36.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.2328, allocations: 0 / 440.9 MB, free: 36.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002003/0.233, allocations: 76.53 kB / 441 MB, free: 36.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/0.233, allocations: 57.52 kB / 441 MB, free: 35.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.2332, allocations: 236.6 kB / 441.2 MB, free: 35.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.944e-06/0.2332, allocations: 25.7 kB / 441.3 MB, free: 35.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.2332, allocations: 138.8 kB / 441.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.2333, allocations: 23.16 kB / 441.4 MB, free: 35.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.2333, allocations: 26.34 kB / 441.5 MB, free: 35.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.985e-05/0.2333, allocations: 332.6 kB / 441.8 MB, free: 35.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-05/0.2334, allocations: 19.06 kB / 441.8 MB, free: 35.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.107e-05/0.2335, allocations: 50.48 kB / 441.8 MB, free: 35.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.2337, allocations: 87.81 kB / 441.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2337, allocations: 0 / 441.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001607/0.2339, allocations: 119.7 kB / 442.1 MB, free: 35.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.2339, allocations: 7.375 kB / 442.1 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2339, allocations: 4.062 kB / 442.1 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2339, allocations: 3.938 kB / 442.1 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.2342, allocations: 37.58 kB / 442.1 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2342, allocations: 2.844 kB / 442.1 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.186e-05/0.2343, allocations: 14.69 kB / 442.1 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.2343, allocations: 2.844 kB / 442.1 MB, free: 35.07 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: 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 9.951e-05/0.2344, allocations: 139.5 kB / 442.3 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.2344, allocations: 13.5 kB / 442.3 MB, free: 34.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/0.2345, allocations: 22.44 kB / 442.3 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2345, allocations: 240 / 442.3 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.2345, allocations: 0 / 442.3 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2345, allocations: 7.875 kB / 442.3 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004264/0.2349, allocations: 406.6 kB / 442.7 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2349, allocations: 2.906 kB / 442.7 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.166e-05/0.235, allocations: 16.62 kB / 442.7 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.235, allocations: 0 / 442.7 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.2351, allocations: 7.875 kB / 442.7 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2351, allocations: 0 / 442.7 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2351, allocations: 0 / 442.7 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.2352, allocations: 205.2 kB / 442.9 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.2353, allocations: 87.77 kB / 443 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.2353, allocations: 6.75 kB / 443 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.735e-05/0.2354, allocations: 0 / 443 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.2354, allocations: 6.438 kB / 443 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.2354, allocations: 8.062 kB / 443 MB, free: 34.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.692e-05/0.2355, allocations: 163.5 kB / 443.2 MB, free: 34.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.2356, allocations: 0 / 443.2 MB, free: 34.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.2358, allocations: 39.19 kB / 443.2 MB, free: 34.14 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 0.0002903/0.2361, allocations: 0.7401 MB / 444 MB, free: 33.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.2362, allocations: 45.81 kB / 444 MB, free: 33.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2363, allocations: 0 / 444 MB, free: 33.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.471e-05/0.2363, allocations: 20.12 kB / 444 MB, free: 33.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.2366, allocations: 45.75 kB / 444.1 MB, free: 33.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.2383, allocations: 1.979 MB / 446.1 MB, free: 31.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.2384, allocations: 0.7187 MB / 446.8 MB, free: 31.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.846e-05/0.2385, allocations: 24.16 kB / 446.8 MB, free: 31.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/0.2386, allocations: 48.47 kB / 446.8 MB, free: 31.08 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2386, allocations: 0 / 446.8 MB, free: 31.08 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.485/2.723, allocations: 3.316 MB / 450.2 MB, free: 30.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/12.78, allocations: 6.875 kB / 450.2 MB, free: 30.62 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/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)