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.005124/0.005124, allocations: 102.4 kB / 15.73 MB, free: 6.023 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.001274/0.001274, allocations: 195.7 kB / 16.67 MB, free: 5.938 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.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1016/0.1016, allocations: 22.33 MB / 312.9 MB, free: 8.879 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 67.89 kB / 436.6 MB, free: 12.24 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09222/0.0941, allocations: 54.95 MB / 491.5 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.002998/0.09714, allocations: 1.949 MB / 493.5 MB, free: 3.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003276/0.09748, allocations: 155.4 kB / 493.6 MB, free: 3.117 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.385e-05/0.09757, allocations: 4 kB / 493.6 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.486e-05/0.09764, allocations: 19.78 kB / 493.6 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.09779, allocations: 59.42 kB / 493.7 MB, free: 3.035 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001268/0.09793, allocations: 27.97 kB / 493.7 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.09813, allocations: 167.1 kB / 493.9 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.09834, allocations: 93.27 kB / 494 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.972e-05/0.09845, allocations: 63.72 kB / 494 MB, free: 2.688 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.09858, allocations: 63.66 kB / 494.1 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.09862, allocations: 12 kB / 494.1 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.017e-05/0.09865, allocations: 12 kB / 494.1 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.752e-05/0.0987, allocations: 35.91 kB / 494.2 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.837e-05/0.09879, allocations: 75.61 kB / 494.2 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.09901, allocations: 159.3 kB / 494.4 MB, free: 2.336 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.09904, allocations: 0 / 494.4 MB, free: 2.336 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09905, allocations: 0 / 494.4 MB, free: 2.336 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.09906, allocations: 0 / 494.4 MB, free: 2.336 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.0006121/0.09967, allocations: 434.8 kB / 494.8 MB, free: 1.859 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.09971, allocations: 12.03 kB / 494.8 MB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.09977, allocations: 46.73 kB / 494.9 MB, free: 1.793 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.09981, allocations: 16.8 kB / 494.9 MB, free: 1.777 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.1001, allocations: 220.8 kB / 495.1 MB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1001, allocations: 8.375 kB / 495.1 MB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.1001, allocations: 8.375 kB / 495.1 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.1004, allocations: 122 kB / 495.2 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1004, allocations: 7.875 kB / 495.2 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.1004, allocations: 4 kB / 495.2 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1004, allocations: 4 kB / 495.3 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.1006, allocations: 59.97 kB / 495.3 MB, free: 1.305 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.001004/0.1016, allocations: 0.7818 MB / 496.1 MB, free: 424 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.1018, allocations: 58.5 kB / 496.2 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.127e-05/0.1018, allocations: 28.81 kB / 496.2 MB, free: 324 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.1018, allocations: 0 / 496.2 MB, free: 324 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.1019, allocations: 30.56 kB / 496.2 MB, free: 284 kB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1019, allocations: 0 / 496.2 MB, free: 284 kB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002198/0.1021, allocations: 77.53 kB / 496.3 MB, free: 200 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.1021, allocations: 63.33 kB / 496.3 MB, free: 124 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.1024, allocations: 195.9 kB / 496.5 MB, free: 15.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1024, allocations: 25.7 kB / 496.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.768e-05/0.1025, allocations: 128.1 kB / 496.7 MB, free: 15.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.361e-05/0.1025, allocations: 7.906 kB / 496.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.1026, allocations: 17.72 kB / 496.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1027, allocations: 326.8 kB / 497 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-05/0.1028, allocations: 15.98 kB / 497 MB, free: 15.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.598e-05/0.1029, allocations: 25.72 kB / 497.1 MB, free: 15.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.1032, allocations: 85.61 kB / 497.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1032, allocations: 0 / 497.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001634/0.1034, allocations: 93.66 kB / 497.2 MB, free: 15.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.1034, allocations: 4 kB / 497.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1034, allocations: 4.031 kB / 497.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.1034, allocations: 0 / 497.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.748e-05/0.1035, allocations: 19.92 kB / 497.3 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1035, allocations: 0 / 497.3 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.516e-05/0.1036, allocations: 15.89 kB / 497.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1036, allocations: 4 kB / 497.3 MB, free: 15.12 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.0001202/0.1038, allocations: 113.8 kB / 497.4 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.1038, allocations: 27.83 kB / 497.4 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.1038, allocations: 12.94 kB / 497.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.1039, allocations: 0 / 497.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.1039, allocations: 0 / 497.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1039, allocations: 192 / 497.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.1041, allocations: 209.5 kB / 497.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1041, allocations: 0 / 497.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.286e-05/0.1042, allocations: 11.98 kB / 497.7 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.1042, allocations: 3.984 kB / 497.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.1042, allocations: 4 kB / 497.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1043, allocations: 0 / 497.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1043, allocations: 7.938 kB / 497.7 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.1045, allocations: 183.3 kB / 497.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/0.1046, allocations: 89.08 kB / 497.9 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.1046, allocations: 0 / 497.9 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.428e-05/0.1047, allocations: 4 kB / 497.9 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.1047, allocations: 0 / 497.9 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1047, allocations: 0 / 497.9 MB, free: 14.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.1049, allocations: 149.5 kB / 498.1 MB, free: 14.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1049, allocations: 4 kB / 498.1 MB, free: 14.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1051, allocations: 31.89 kB / 498.1 MB, free: 14.19 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.0005216/0.1057, allocations: 0.7084 MB / 498.8 MB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001333/0.1058, allocations: 35.98 kB / 498.9 MB, free: 13.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1058, allocations: 4.125 kB / 498.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.764e-05/0.1059, allocations: 15.92 kB / 498.9 MB, free: 13.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.1062, allocations: 28.11 kB / 498.9 MB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.1081, allocations: 1.798 MB / 0.489 GB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.1085, allocations: 0.7123 MB / 0.4897 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.661e-05/0.1086, allocations: 9.438 kB / 0.4897 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.306e-05/0.1087, allocations: 43.5 kB / 0.4897 GB, free: 10.7 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1087, allocations: 0 / 0.4897 GB, free: 10.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1829/0.2916, allocations: 3.01 MB / 0.4927 GB, free: 7.773 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.346/8.637, allocations: 18.23 kB / 0.4927 GB, free: 7.758 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)