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.001244/0.001244, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001357/0.001357, allocations: 177.3 kB / 15.95 MB, free: 216 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.49/1.49, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.3439/0.3439, allocations: 22.34 MB / 313.3 MB, free: 13.16 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003299, allocations: 8 kB / 381.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3964, allocations: 55.97 MB / 437.9 MB, free: 39.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.00181/0.3982, allocations: 1.627 MB / 439.5 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003023/0.3985, allocations: 187.4 kB / 439.7 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.093e-05/0.3986, allocations: 6.812 kB / 439.7 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.637e-05/0.3987, allocations: 14.25 kB / 439.7 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.3988, allocations: 74.5 kB / 439.8 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.399, allocations: 27.95 kB / 439.8 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.3991, allocations: 117.4 kB / 439.9 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.3993, allocations: 69.59 kB / 440 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.77e-05/0.3994, allocations: 51.33 kB / 440.1 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.3995, allocations: 70.64 kB / 440.1 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.3996, allocations: 11.41 kB / 440.1 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.594e-05/0.3996, allocations: 8.719 kB / 440.1 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.3996, allocations: 17.92 kB / 440.2 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.3997, allocations: 59.67 kB / 440.2 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.3998, allocations: 103.2 kB / 440.3 MB, free: 37.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.3998, allocations: 0 / 440.3 MB, free: 37.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.584e-06/0.3998, allocations: 0 / 440.3 MB, free: 37.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.3998, allocations: 0 / 440.3 MB, free: 37.45 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.0004238/0.4002, allocations: 425.7 kB / 440.7 MB, free: 37.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.4003, allocations: 9.25 kB / 440.7 MB, free: 37.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.4003, allocations: 40.78 kB / 440.8 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.4004, allocations: 19.81 kB / 440.8 MB, free: 36.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.4006, allocations: 208.8 kB / 441 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.4006, allocations: 9.5 kB / 441 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.4006, allocations: 13 kB / 441 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.4008, allocations: 121.5 kB / 441.1 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.4009, allocations: 0 / 441.1 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.4009, allocations: 7.938 kB / 441.2 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.4009, allocations: 2.875 kB / 441.2 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.401, allocations: 61.48 kB / 441.2 MB, free: 36.64 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006998/0.4017, allocations: 0.6055 MB / 441.8 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.4018, allocations: 50.83 kB / 441.9 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.4019, allocations: 0 / 441.9 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.4019, allocations: 40.41 kB / 441.9 MB, free: 36.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.4019, allocations: 0 / 441.9 MB, free: 36.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002/0.4021, allocations: 76.05 kB / 442 MB, free: 35.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.4021, allocations: 51.41 kB / 442 MB, free: 35.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.4023, allocations: 198.2 kB / 442.2 MB, free: 35.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.4023, allocations: 25.7 kB / 442.3 MB, free: 35.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.4024, allocations: 135.7 kB / 442.4 MB, free: 35.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.199e-05/0.4024, allocations: 11.81 kB / 442.4 MB, free: 35.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.4024, allocations: 0 / 442.4 MB, free: 35.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.405e-05/0.4025, allocations: 323.9 kB / 442.7 MB, free: 35.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.742e-05/0.4025, allocations: 17.28 kB / 442.7 MB, free: 35.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.688e-05/0.4026, allocations: 29.8 kB / 442.8 MB, free: 35.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.69e-05/0.4026, allocations: 17.03 kB / 442.8 MB, free: 35.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4026, allocations: 4 kB / 442.8 MB, free: 35.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00012/0.4028, allocations: 86.98 kB / 442.9 MB, free: 35.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.4028, allocations: 10.33 kB / 442.9 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4028, allocations: 0 / 442.9 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.4028, allocations: 7.312 kB / 442.9 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.984e-05/0.4029, allocations: 11.34 kB / 442.9 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.4029, allocations: 3.938 kB / 442.9 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.916e-05/0.403, allocations: 11.66 kB / 442.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.403, allocations: 2.281 kB / 442.9 MB, free: 35.16 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.0001939/0.4032, allocations: 131.4 kB / 443 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.4032, allocations: 13.59 kB / 443.1 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.4033, allocations: 19.09 kB / 443.1 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4033, allocations: 2.719 kB / 443.1 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4033, allocations: 0 / 443.1 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.4033, allocations: 0 / 443.1 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.4035, allocations: 205.7 kB / 443.3 MB, free: 34.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.4035, allocations: 8 kB / 443.3 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.617e-05/0.4036, allocations: 12.06 kB / 443.3 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4036, allocations: 0 / 443.3 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.4036, allocations: 0 / 443.3 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4036, allocations: 3.953 kB / 443.3 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4036, allocations: 0 / 443.3 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.4038, allocations: 182.8 kB / 443.5 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.4038, allocations: 91.77 kB / 443.6 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.4039, allocations: 2.844 kB / 443.6 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-05/0.404, allocations: 4.062 kB / 443.6 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.404, allocations: 10.53 kB / 443.6 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.404, allocations: 0 / 443.6 MB, free: 34.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.711e-05/0.4041, allocations: 146.6 kB / 443.7 MB, free: 34.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4041, allocations: 0 / 443.7 MB, free: 34.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.4044, allocations: 25.34 kB / 443.8 MB, free: 34.42 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.0003129/0.4047, allocations: 0.7113 MB / 444.5 MB, free: 33.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.4048, allocations: 33.2 kB / 444.5 MB, free: 33.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4048, allocations: 0 / 444.5 MB, free: 33.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.978e-05/0.4048, allocations: 19.73 kB / 444.5 MB, free: 33.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.4051, allocations: 35 kB / 444.5 MB, free: 33.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.4061, allocations: 1.072 MB / 445.6 MB, free: 32.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.4063, allocations: 0.7119 MB / 446.3 MB, free: 32.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.538e-05/0.4063, allocations: 21.45 kB / 446.4 MB, free: 32.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.775e-05/0.4064, allocations: 41.75 kB / 446.4 MB, free: 32.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4064, allocations: 0 / 446.4 MB, free: 32.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01182/0.4182, allocations: 2.736 MB / 449.1 MB, free: 32.02 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/0.4184, allocations: 162.2 kB / 449.3 MB, free: 31.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.22, allocations: 4 kB / 449.3 MB, free: 31.77 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: