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.0008/0.0008001, allocations: 91.84 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.0008368/0.0008368, 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.286/1.286, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1982/0.1982, allocations: 22.35 MB / 313.4 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002845/0.0002845, allocations: 8 kB / 382 MB, free: 10.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2325, allocations: 55.99 MB / 438 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.001526/0.234, allocations: 1.708 MB / 439.7 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003137/0.2343, allocations: 165.3 kB / 439.9 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.107e-05/0.2345, allocations: 6.875 kB / 439.9 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.876e-05/0.2345, allocations: 14.81 kB / 439.9 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.2346, allocations: 59.03 kB / 440 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001158/0.2348, allocations: 29.08 kB / 440 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.2349, allocations: 160.1 kB / 440.2 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.2351, allocations: 68.58 kB / 440.2 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.229e-05/0.2351, allocations: 54.88 kB / 440.3 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.502e-05/0.2352, allocations: 65.23 kB / 440.4 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.2353, allocations: 7.688 kB / 440.4 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.194e-05/0.2353, allocations: 5.188 kB / 440.4 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.2353, allocations: 24.23 kB / 440.4 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.2353, allocations: 51.95 kB / 440.4 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.741e-05/0.2354, allocations: 113 kB / 440.5 MB, free: 37.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2355, allocations: 0 / 440.5 MB, free: 37.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2355, allocations: 3.938 kB / 440.6 MB, free: 37.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.2355, allocations: 0 / 440.6 MB, free: 37.52 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.0003698/0.2358, allocations: 425.2 kB / 441 MB, free: 37.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.2359, allocations: 8.938 kB / 441 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.058e-05/0.2359, allocations: 37.28 kB / 441 MB, free: 37.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.236, allocations: 19.78 kB / 441 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.2361, allocations: 219.9 kB / 441.2 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.2361, allocations: 2.812 kB / 441.2 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.2362, allocations: 11.62 kB / 441.3 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.2363, allocations: 117.6 kB / 441.4 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2364, allocations: 7.938 kB / 441.4 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.2364, allocations: 10.2 kB / 441.4 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.2364, allocations: 2.719 kB / 441.4 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.2365, allocations: 64.56 kB / 441.5 MB, free: 36.71 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.0006818/0.2372, allocations: 0.7733 MB / 442.2 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.2373, allocations: 47.06 kB / 442.3 MB, free: 35.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.753e-05/0.2374, allocations: 26.08 kB / 442.3 MB, free: 35.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.2374, allocations: 3.953 kB / 442.3 MB, free: 35.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.02e-05/0.2374, allocations: 37.19 kB / 442.3 MB, free: 35.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2374, allocations: 0 / 442.3 MB, free: 35.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001791/0.2376, allocations: 74.8 kB / 442.4 MB, free: 35.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.93e-05/0.2376, allocations: 54 kB / 442.5 MB, free: 35.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.2377, allocations: 189.2 kB / 442.7 MB, free: 35.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.723e-06/0.2378, allocations: 25.7 kB / 442.7 MB, free: 35.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.2378, allocations: 130.4 kB / 442.8 MB, free: 35.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.109e-05/0.2378, allocations: 17.64 kB / 442.8 MB, free: 35.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.2378, allocations: 4 kB / 442.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.733e-05/0.2379, allocations: 320.9 kB / 443.1 MB, free: 35.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.593e-05/0.2379, allocations: 16.47 kB / 443.2 MB, free: 35.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.5e-05/0.238, allocations: 26.98 kB / 443.2 MB, free: 35.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.481e-05/0.238, allocations: 18.19 kB / 443.2 MB, free: 35.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.238, allocations: 0 / 443.2 MB, free: 35.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001207/0.2381, allocations: 91.8 kB / 443.3 MB, free: 35.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.2382, allocations: 13.89 kB / 443.3 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.2382, allocations: 3.938 kB / 443.3 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.2382, allocations: 0 / 443.3 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.018e-05/0.2383, allocations: 14.88 kB / 443.3 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2383, allocations: 3.125 kB / 443.3 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.664e-05/0.2384, allocations: 10.84 kB / 443.3 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.2384, allocations: 0 / 443.3 MB, free: 35.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.2385, allocations: 133.7 kB / 443.5 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.2385, allocations: 13.44 kB / 443.5 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.2386, allocations: 21.28 kB / 443.5 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2386, allocations: 0 / 443.5 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/0.2386, allocations: 0 / 443.5 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2386, allocations: 2.625 kB / 443.5 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.2387, allocations: 202.9 kB / 443.7 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2388, allocations: 2.375 kB / 443.7 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.683e-05/0.2388, allocations: 13.12 kB / 443.7 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2389, allocations: 6.844 kB / 443.7 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.2389, allocations: 4 kB / 443.7 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2389, allocations: 4.031 kB / 443.7 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2389, allocations: 3.984 kB / 443.7 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.239, allocations: 174.7 kB / 443.9 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.385e-05/0.2391, allocations: 90.73 kB / 444 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.2391, allocations: 0 / 444 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.66e-05/0.2392, allocations: 7.125 kB / 444 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.13e-05/0.2392, allocations: 8.016 kB / 444 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.2392, allocations: 0 / 444 MB, free: 34.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.938e-05/0.2393, allocations: 150.2 kB / 444.2 MB, free: 34.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2393, allocations: 0 / 444.2 MB, free: 34.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.2396, allocations: 26.44 kB / 444.2 MB, free: 34.27 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 (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.0002708/0.2399, allocations: 0.711 MB / 444.9 MB, free: 33.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.24, allocations: 45.42 kB / 444.9 MB, free: 33.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.24, allocations: 0 / 444.9 MB, free: 33.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.932e-05/0.24, allocations: 11.91 kB / 444.9 MB, free: 33.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.2403, allocations: 29.61 kB / 445 MB, free: 33.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009719/0.2413, allocations: 0.9233 MB / 445.9 MB, free: 32.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.2414, allocations: 0.705 MB / 446.6 MB, free: 32.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.502e-05/0.2415, allocations: 16.52 kB / 446.6 MB, free: 32.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.295e-05/0.2415, allocations: 45.52 kB / 446.7 MB, free: 32.24 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2415, allocations: 0 / 446.7 MB, free: 32.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01084/0.2524, allocations: 2.741 MB / 449.4 MB, free: 32.03 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001092/0.2525, allocations: 164.2 kB / 449.6 MB, free: 31.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/1.83, allocations: 0 / 449.6 MB, free: 31.79 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/linux/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) Environment - environmentSimulation: