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.007412/0.007412, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001948/0.001948, allocations: 192.4 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1061/0.1061, allocations: 22.33 MB / 312.9 MB, free: 8.883 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 59.91 kB / 436.6 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0938/0.0957, allocations: 54.95 MB / 491.5 MB, free: 5.258 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.003062/0.0988, allocations: 2.089 MB / 493.6 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003618/0.09918, allocations: 175.4 kB / 493.8 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.304e-05/0.09927, allocations: 7.938 kB / 493.8 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.056e-05/0.09934, allocations: 19.78 kB / 493.8 MB, free: 2.953 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.09952, allocations: 71.34 kB / 493.9 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.09966, allocations: 43.88 kB / 493.9 MB, free: 2.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.0999, allocations: 207 kB / 494.1 MB, free: 2.637 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002327/0.1001, allocations: 112.4 kB / 494.2 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.1003, allocations: 79.64 kB / 494.3 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.1004, allocations: 83.64 kB / 494.4 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.239e-05/0.1005, allocations: 19.94 kB / 494.4 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.792e-05/0.1005, allocations: 12 kB / 494.4 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.727e-05/0.1005, allocations: 35.91 kB / 494.4 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.1007, allocations: 95.48 kB / 494.5 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.1009, allocations: 195.2 kB / 494.7 MB, free: 2.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1009, allocations: 0 / 494.7 MB, free: 2.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.1009, allocations: 8 kB / 494.7 MB, free: 2.012 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1009, allocations: 3.938 kB / 494.7 MB, free: 2.008 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.0006393/0.1016, allocations: 485.4 kB / 495.2 MB, free: 1.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1016, allocations: 8.031 kB / 495.2 MB, free: 1.473 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.298e-05/0.1017, allocations: 46.73 kB / 495.3 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.1017, allocations: 24.8 kB / 495.3 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.102, allocations: 236.8 kB / 495.5 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.102, allocations: 12.66 kB / 495.5 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.1021, allocations: 16.38 kB / 495.6 MB, free: 1.098 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.1023, allocations: 128.4 kB / 495.7 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1024, allocations: 3.938 kB / 495.7 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1024, allocations: 4 kB / 495.7 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.1024, allocations: 4 kB / 495.7 MB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.1026, allocations: 72.81 kB / 495.8 MB, free: 0.8867 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.0009162/0.1035, allocations: 0.6632 MB / 496.4 MB, free: 140 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.1036, allocations: 50.56 kB / 496.5 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.256e-05/0.1037, allocations: 20.86 kB / 496.5 MB, free: 56 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.1037, allocations: 0 / 496.5 MB, free: 56 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.1037, allocations: 38.58 kB / 496.5 MB, free: 8 kB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1037, allocations: 0 / 496.5 MB, free: 8 kB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002469/0.104, allocations: 97.52 kB / 496.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.1041, allocations: 51.41 kB / 496.7 MB, free: 15.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.1043, allocations: 225 kB / 496.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.1043, allocations: 25.7 kB / 496.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.1044, allocations: 148 kB / 497.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.1045, allocations: 11.91 kB / 497.1 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.1045, allocations: 33.66 kB / 497.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1047, allocations: 330.8 kB / 497.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.068e-05/0.1047, allocations: 16 kB / 497.4 MB, free: 15.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.539e-05/0.1048, allocations: 47.36 kB / 497.5 MB, free: 14.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.1051, allocations: 99.33 kB / 497.6 MB, free: 14.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1051, allocations: 4 kB / 497.6 MB, free: 14.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001953/0.1053, allocations: 105.5 kB / 497.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1053, allocations: 8 kB / 497.7 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1054, allocations: 0 / 497.7 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1054, allocations: 4 kB / 497.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.1057, allocations: 39.92 kB / 497.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1057, allocations: 0 / 497.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.897e-05/0.1058, allocations: 23.89 kB / 497.8 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1058, allocations: 4 kB / 497.8 MB, free: 14.67 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: 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.0001341/0.1059, allocations: 129.8 kB / 497.9 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.106, allocations: 15.91 kB / 497.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.578e-05/0.106, allocations: 17.23 kB / 497.9 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.106, allocations: 0 / 497.9 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.106, allocations: 0 / 497.9 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.106, allocations: 7.938 kB / 497.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006075/0.1067, allocations: 412.1 kB / 498.3 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1067, allocations: 3.938 kB / 498.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.007e-05/0.1068, allocations: 15.92 kB / 498.4 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1068, allocations: 4.062 kB / 498.4 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.1068, allocations: 7.938 kB / 498.4 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1068, allocations: 8.078 kB / 498.4 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1068, allocations: 4 kB / 498.4 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.1071, allocations: 193.2 kB / 498.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.88e-05/0.1071, allocations: 97.03 kB / 498.7 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.1072, allocations: 4.125 kB / 498.7 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1073, allocations: 8.062 kB / 498.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.1073, allocations: 7.875 kB / 498.7 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.1073, allocations: 4 kB / 498.7 MB, free: 13.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.1075, allocations: 164.5 kB / 498.9 MB, free: 13.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1075, allocations: 0 / 498.9 MB, free: 13.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.1078, allocations: 35.95 kB / 498.9 MB, free: 13.43 MB / 382.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.0005403/0.1083, allocations: 0.7299 MB / 499.6 MB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.1085, allocations: 47.95 kB / 499.7 MB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1085, allocations: 0 / 499.7 MB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.343e-05/0.1085, allocations: 19.98 kB / 499.7 MB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.1089, allocations: 29.03 kB / 499.7 MB, free: 12.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.1113, allocations: 1.994 MB / 0.49 GB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.1117, allocations: 0.7202 MB / 0.4907 GB, free: 9.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.828e-05/0.1117, allocations: 21.62 kB / 0.4907 GB, free: 9.711 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.27e-05/0.1118, allocations: 55.41 kB / 0.4907 GB, free: 9.66 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1118, allocations: 0 / 0.4907 GB, free: 9.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1188/0.2307, allocations: 3.361 MB / 0.494 GB, free: 6.387 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.113/8.344, allocations: 7.812 kB / 0.494 GB, free: 6.379 MB / 382.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)