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.0009916/0.0009916, allocations: 100.2 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.0009215/0.0009213, allocations: 177.3 kB / 15.94 MB, free: 228 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.711/1.711, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2819/0.2819, allocations: 22.35 MB / 313.3 MB, free: 13.1 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003723, allocations: 8 kB / 381.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3918, allocations: 55.98 MB / 437.9 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.002234/0.3941, allocations: 1.769 MB / 439.7 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004295/0.3945, allocations: 221.6 kB / 439.9 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.3947, allocations: 3.406 kB / 439.9 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.113e-05/0.3947, allocations: 24.55 kB / 439.9 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.3949, allocations: 86.47 kB / 440 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/0.3951, allocations: 32.89 kB / 440 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.3952, allocations: 145.4 kB / 440.2 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002645/0.3955, allocations: 95.27 kB / 440.3 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.3956, allocations: 73.02 kB / 440.3 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.3958, allocations: 75.91 kB / 440.4 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.3958, allocations: 8.438 kB / 440.4 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.091e-05/0.3958, allocations: 10.78 kB / 440.4 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.706e-05/0.3959, allocations: 24.44 kB / 440.4 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.007e-05/0.3959, allocations: 63.95 kB / 440.5 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.3961, allocations: 146 kB / 440.7 MB, free: 37.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3961, allocations: 4 kB / 440.7 MB, free: 37.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3961, allocations: 0 / 440.7 MB, free: 37.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.3961, allocations: 0 / 440.7 MB, free: 37.16 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0005389/0.3966, allocations: 444.2 kB / 441.1 MB, free: 36.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3967, allocations: 8.312 kB / 441.1 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.838e-05/0.3967, allocations: 47.06 kB / 441.1 MB, free: 36.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.3968, allocations: 20.12 kB / 441.2 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.397, allocations: 228.3 kB / 441.4 MB, free: 36.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.3971, allocations: 17.45 kB / 441.4 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.3971, allocations: 15.97 kB / 441.4 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.3974, allocations: 132.2 kB / 441.6 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3974, allocations: 0 / 441.6 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.3974, allocations: 4 kB / 441.6 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.3974, allocations: 3.219 kB / 441.6 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.3976, allocations: 78.83 kB / 441.6 MB, free: 36.33 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.0007592/0.3984, allocations: 0.55 MB / 442.2 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.3985, allocations: 50.38 kB / 442.2 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.3985, allocations: 2.906 kB / 442.2 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.3985, allocations: 30.56 kB / 442.3 MB, free: 35.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.3985, allocations: 4 kB / 442.3 MB, free: 35.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002185/0.3987, allocations: 84.19 kB / 442.4 MB, free: 35.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.3988, allocations: 51.41 kB / 442.4 MB, free: 35.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.399, allocations: 222.2 kB / 442.6 MB, free: 35.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.399, allocations: 32.61 kB / 442.7 MB, free: 35.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/0.3991, allocations: 142.7 kB / 442.8 MB, free: 35.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.3991, allocations: 17.8 kB / 442.8 MB, free: 35.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.3991, allocations: 0 / 442.8 MB, free: 35.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.954e-05/0.3992, allocations: 335.5 kB / 443.1 MB, free: 35.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.959e-05/0.3992, allocations: 24.62 kB / 443.2 MB, free: 35.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.517e-05/0.3993, allocations: 42.08 kB / 443.2 MB, free: 34.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.209e-05/0.3994, allocations: 26.09 kB / 443.2 MB, free: 34.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3994, allocations: 0 / 443.2 MB, free: 34.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001558/0.3995, allocations: 106.6 kB / 443.3 MB, free: 34.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3996, allocations: 9.281 kB / 443.3 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3996, allocations: 3.938 kB / 443.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3996, allocations: 2.5 kB / 443.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.3998, allocations: 40.75 kB / 443.4 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3999, allocations: 0 / 443.4 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.062e-05/0.4, allocations: 13.41 kB / 443.4 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.4, allocations: 7.281 kB / 443.4 MB, free: 34.89 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002105/0.4002, allocations: 135.1 kB / 443.5 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.4002, allocations: 14 kB / 443.6 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.797e-05/0.4003, allocations: 18.78 kB / 443.6 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4003, allocations: 7.922 kB / 443.6 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4003, allocations: 192 / 443.6 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.4003, allocations: 0 / 443.6 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.4008, allocations: 424.8 kB / 444 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4008, allocations: 0 / 444 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.257e-05/0.4009, allocations: 12.55 kB / 444 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4009, allocations: 7.031 kB / 444 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.4009, allocations: 0 / 444 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.4009, allocations: 3.156 kB / 444 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4009, allocations: 0 / 444 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.4012, allocations: 222.7 kB / 444.2 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.4012, allocations: 98.05 kB / 444.3 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.4013, allocations: 0 / 444.3 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.805e-05/0.4014, allocations: 6.609 kB / 444.3 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.4014, allocations: 10.08 kB / 444.3 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.4014, allocations: 0 / 444.3 MB, free: 34.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.4015, allocations: 165.3 kB / 444.5 MB, free: 33.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4015, allocations: 0 / 444.5 MB, free: 33.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.4018, allocations: 36.75 kB / 444.5 MB, free: 33.92 MB / 350.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 (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.0004189/0.4023, allocations: 0.895 MB / 445.4 MB, free: 33.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001332/0.4024, allocations: 45.19 kB / 445.5 MB, free: 33.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4024, allocations: 0 / 445.5 MB, free: 33.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.418e-05/0.4024, allocations: 20.28 kB / 445.5 MB, free: 33.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.4027, allocations: 31.41 kB / 445.5 MB, free: 33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.4043, allocations: 1.514 MB / 447 MB, free: 31.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.4045, allocations: 0.7334 MB / 447.8 MB, free: 31.19 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.901e-05/0.4046, allocations: 15.02 kB / 447.8 MB, free: 31.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.324e-05/0.4047, allocations: 55.09 kB / 447.8 MB, free: 31.14 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4047, allocations: 0 / 447.8 MB, free: 31.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01541/0.4201, allocations: 3.105 MB / 451 MB, free: 30.91 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/0.4204, allocations: 158.5 kB / 451.1 MB, free: 30.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.343, allocations: 0 / 451.1 MB, free: 30.68 MB / 350.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/linux/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) Environment - environmentSimulation: