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.01057/0.01057, allocations: 103.7 kB / 15.73 MB, free: 6.047 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.002176/0.002176, allocations: 196.8 kB / 16.68 MB, free: 5.961 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.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2311/0.2311, allocations: 22.35 MB / 312.9 MB, free: 12.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 62.94 kB / 436.6 MB, free: 34.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1282, allocations: 54.96 MB / 491.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.003092/0.1314, allocations: 2.098 MB / 493.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005421/0.1319, allocations: 187.3 kB / 493.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.1321, allocations: 4 kB / 493.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.358e-05/0.1322, allocations: 23.72 kB / 493.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.1325, allocations: 75.39 kB / 493.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.1326, allocations: 31.95 kB / 493.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.1329, allocations: 218.9 kB / 494.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002648/0.1332, allocations: 100.5 kB / 494.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002689/0.1335, allocations: 83.66 kB / 494.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.1336, allocations: 83.58 kB / 494.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.1336, allocations: 16 kB / 494.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.346e-05/0.1337, allocations: 16 kB / 494.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.583e-05/0.1337, allocations: 39.78 kB / 494.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.524e-05/0.1338, allocations: 95.47 kB / 494.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.1341, allocations: 204.1 kB / 494.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1341, allocations: 3.938 kB / 494.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1341, allocations: 0 / 494.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.1341, allocations: 0 / 494.8 MB, free: 14.45 MB / 366.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.0007288/0.1348, allocations: 474.9 kB / 495.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.1349, allocations: 8.031 kB / 495.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.086e-05/0.135, allocations: 46.73 kB / 495.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/0.135, allocations: 24.66 kB / 495.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.1354, allocations: 244.6 kB / 495.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.1354, allocations: 12.66 kB / 495.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.1354, allocations: 12.38 kB / 495.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.1357, allocations: 124.4 kB / 495.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.771e-05/0.1358, allocations: 3.938 kB / 495.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.689e-05/0.1358, allocations: 8 kB / 495.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.1359, allocations: 4 kB / 495.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.1361, allocations: 84.73 kB / 495.8 MB, free: 13.32 MB / 366.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.0009611/0.137, allocations: 0.6439 MB / 496.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.1372, allocations: 58.48 kB / 496.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.202e-05/0.1372, allocations: 20.86 kB / 496.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.1373, allocations: 4.078 kB / 496.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.1373, allocations: 30.56 kB / 496.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1373, allocations: 8 kB / 496.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002539/0.1376, allocations: 77.5 kB / 496.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.1376, allocations: 59.34 kB / 496.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.1378, allocations: 225 kB / 496.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.1378, allocations: 25.7 kB / 496.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.955e-05/0.1379, allocations: 143.9 kB / 497.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.138, allocations: 15.75 kB / 497.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.138, allocations: 25.7 kB / 497.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.1382, allocations: 334.8 kB / 497.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.247e-05/0.1383, allocations: 19.98 kB / 497.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.15e-05/0.1384, allocations: 39.44 kB / 497.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.1387, allocations: 103.3 kB / 497.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.1387, allocations: 192 / 497.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001884/0.1389, allocations: 117.3 kB / 497.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1389, allocations: 7.938 kB / 497.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1389, allocations: 3.938 kB / 497.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.1389, allocations: 4 kB / 497.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.1392, allocations: 36.05 kB / 497.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1392, allocations: 8 kB / 497.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.727e-05/0.1393, allocations: 11.78 kB / 497.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1393, allocations: 11.98 kB / 497.8 MB, free: 11.12 MB / 366.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 0.0001482/0.1395, allocations: 125.8 kB / 497.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.1395, allocations: 15.81 kB / 498 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.594e-05/0.1396, allocations: 17.23 kB / 498 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1396, allocations: 4 kB / 498 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1396, allocations: 7.938 kB / 498 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1396, allocations: 3.938 kB / 498 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005272/0.1401, allocations: 400.2 kB / 498.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1402, allocations: 0 / 498.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.357e-05/0.1402, allocations: 15.98 kB / 498.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1403, allocations: 96 / 498.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1403, allocations: 7.938 kB / 498.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.1403, allocations: 4 kB / 498.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1403, allocations: 0 / 498.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.1406, allocations: 197.2 kB / 498.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.748e-05/0.1407, allocations: 92.94 kB / 498.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.1407, allocations: 12 kB / 498.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.191e-05/0.1408, allocations: 112 / 498.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/0.1409, allocations: 11.98 kB / 498.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.1409, allocations: 4 kB / 498.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.141, allocations: 164.5 kB / 498.9 MB, free: 9.938 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.141, allocations: 0 / 498.9 MB, free: 9.938 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.1413, allocations: 35.84 kB / 498.9 MB, free: 9.902 MB / 366.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.0004814/0.1418, allocations: 0.7334 MB / 499.6 MB, free: 9.137 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001522/0.1419, allocations: 47.92 kB / 499.7 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1419, allocations: 0 / 499.7 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.923e-05/0.142, allocations: 20.17 kB / 499.7 MB, free: 9.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.1423, allocations: 40.7 kB / 499.7 MB, free: 9.031 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.1446, allocations: 1.976 MB / 0.49 GB, free: 6.949 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.1449, allocations: 0.728 MB / 0.4907 GB, free: 6.195 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.1451, allocations: 13.55 kB / 0.4907 GB, free: 6.184 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.611e-05/0.1451, allocations: 59.41 kB / 0.4907 GB, free: 6.129 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1451, allocations: 0 / 0.4907 GB, free: 6.129 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.167, allocations: 3.407 MB / 0.4941 GB, free: 2.809 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.854/8.021, allocations: 10.98 kB / 0.4941 GB, free: 2.801 MB / 366.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)