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.006789/0.006789, allocations: 103.1 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.00145/0.00145, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08838/0.08838, allocations: 22.33 MB / 312.8 MB, free: 8.859 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 55.91 kB / 436.5 MB, free: 12.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1162, allocations: 54.96 MB / 491.5 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.002668/0.1189, allocations: 1.956 MB / 493.5 MB, free: 3.227 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003236/0.1192, allocations: 143.5 kB / 493.6 MB, free: 3.086 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.632e-05/0.1193, allocations: 7.875 kB / 493.6 MB, free: 3.078 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.071e-05/0.1194, allocations: 19.8 kB / 493.6 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.1195, allocations: 59.53 kB / 493.7 MB, free: 3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.1197, allocations: 27.91 kB / 493.7 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.1199, allocations: 171.1 kB / 493.9 MB, free: 2.805 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.1201, allocations: 81.36 kB / 494 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.1202, allocations: 71.66 kB / 494 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1203, allocations: 67.7 kB / 494.1 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.1203, allocations: 12 kB / 494.1 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.266e-05/0.1204, allocations: 8 kB / 494.1 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.959e-05/0.1204, allocations: 27.86 kB / 494.1 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.06e-05/0.1205, allocations: 79.61 kB / 494.2 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.1206, allocations: 155.7 kB / 494.4 MB, free: 2.309 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1206, allocations: 0 / 494.4 MB, free: 2.309 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1206, allocations: 0 / 494.4 MB, free: 2.309 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1207, allocations: 0 / 494.4 MB, free: 2.309 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005329/0.1212, allocations: 446.8 kB / 494.8 MB, free: 1.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1212, allocations: 8.031 kB / 494.8 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.749e-05/0.1213, allocations: 42.73 kB / 494.9 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.1213, allocations: 16.75 kB / 494.9 MB, free: 1.746 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.1216, allocations: 224.7 kB / 495.1 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1216, allocations: 8.375 kB / 495.1 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.1216, allocations: 12.28 kB / 495.1 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.1218, allocations: 118 kB / 495.2 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.1218, allocations: 3.938 kB / 495.2 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.1219, allocations: 7.984 kB / 495.2 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1219, allocations: 4 kB / 495.2 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.122, allocations: 63.84 kB / 495.3 MB, free: 1.266 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) * 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.0008533/0.1229, allocations: 0.7868 MB / 496.1 MB, free: 376 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.123, allocations: 46.56 kB / 496.1 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.735e-05/0.1231, allocations: 32.88 kB / 496.2 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.1231, allocations: 3.938 kB / 496.2 MB, free: 280 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.1231, allocations: 30.56 kB / 496.2 MB, free: 240 kB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1231, allocations: 0 / 496.2 MB, free: 240 kB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002186/0.1234, allocations: 73.5 kB / 496.3 MB, free: 160 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.1234, allocations: 51.41 kB / 496.3 MB, free: 96 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.1236, allocations: 195.9 kB / 496.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.1236, allocations: 29.7 kB / 496.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.531e-05/0.1237, allocations: 127.9 kB / 496.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.1237, allocations: 19.8 kB / 496.7 MB, free: 15.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.1237, allocations: 17.72 kB / 496.7 MB, free: 15.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1239, allocations: 322.8 kB / 497 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.229e-05/0.1239, allocations: 11.98 kB / 497 MB, free: 15.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.967e-05/0.124, allocations: 33.66 kB / 497.1 MB, free: 15.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003146/0.1243, allocations: 81.67 kB / 497.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1243, allocations: 0 / 497.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001513/0.1244, allocations: 93.38 kB / 497.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1245, allocations: 4 kB / 497.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1245, allocations: 0 / 497.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1245, allocations: 4 kB / 497.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.438e-05/0.1246, allocations: 16.02 kB / 497.3 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1246, allocations: 4 kB / 497.3 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.713e-05/0.1247, allocations: 7.844 kB / 497.3 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1247, allocations: 4 kB / 497.3 MB, free: 15.09 MB / 382.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: 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.0001248/0.1248, allocations: 125.8 kB / 497.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.1249, allocations: 11.84 kB / 497.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.1249, allocations: 16.92 kB / 497.4 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1249, allocations: 4 kB / 497.4 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1249, allocations: 0 / 497.4 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1249, allocations: 0 / 497.4 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.1251, allocations: 209.5 kB / 497.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.1252, allocations: 4.125 kB / 497.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.044e-05/0.1253, allocations: 11.98 kB / 497.7 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1253, allocations: 0 / 497.7 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.1253, allocations: 3.938 kB / 497.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.1253, allocations: 4 kB / 497.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1253, allocations: 3.938 kB / 497.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.1255, allocations: 183.5 kB / 497.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.1256, allocations: 88.95 kB / 497.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.1256, allocations: 0 / 497.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.1257, allocations: 15.91 kB / 497.9 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.1257, allocations: 0 / 497.9 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.1257, allocations: 0 / 497.9 MB, free: 14.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.1259, allocations: 149.5 kB / 498.1 MB, free: 14.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1259, allocations: 0 / 498.1 MB, free: 14.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002368/0.1261, allocations: 28.06 kB / 498.1 MB, free: 14.15 MB / 382.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.0004408/0.1265, allocations: 0.7006 MB / 498.8 MB, free: 13.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.1267, allocations: 43.92 kB / 498.9 MB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1267, allocations: 0 / 498.9 MB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.395e-05/0.1267, allocations: 16.11 kB / 498.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.127, allocations: 27.98 kB / 498.9 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.1288, allocations: 1.784 MB / 0.489 GB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.1291, allocations: 0.7123 MB / 0.4896 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.126e-05/0.1292, allocations: 13.42 kB / 0.4897 GB, free: 10.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.723e-05/0.1293, allocations: 43.42 kB / 0.4897 GB, free: 10.68 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1293, allocations: 4 kB / 0.4897 GB, free: 10.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/0.1498, allocations: 2.977 MB / 0.4926 GB, free: 7.777 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.401/7.551, allocations: 8 kB / 0.4926 GB, free: 7.77 MB / 382.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)