Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SR01.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_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",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.0009824/0.0009824, allocations: 100 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.001003/0.001003, 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.41/1.41, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2512/0.2512, allocations: 22.34 MB / 313.3 MB, free: 13.21 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004674/0.0004675, allocations: 8 kB / 381.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4053, allocations: 55.98 MB / 437.9 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.0009981/0.4064, allocations: 432.2 kB / 438.3 MB, free: 38.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001449/0.4065, allocations: 23.09 kB / 438.3 MB, free: 38.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.057e-05/0.4066, allocations: 2.375 kB / 438.3 MB, free: 38.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.4066, allocations: 3.938 kB / 438.3 MB, free: 38.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.4067, allocations: 3.469 kB / 438.3 MB, free: 38.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.078e-05/0.4068, allocations: 6.406 kB / 438.3 MB, free: 38.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.906e-05/0.4069, allocations: 10.48 kB / 438.4 MB, free: 38.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.457e-05/0.407, allocations: 10.45 kB / 438.4 MB, free: 38.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.612e-05/0.407, allocations: 5.219 kB / 438.4 MB, free: 38.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.705e-05/0.4071, allocations: 9.797 kB / 438.4 MB, free: 38.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.4071, allocations: 4 kB / 438.4 MB, free: 38.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.4072, allocations: 2.531 kB / 438.4 MB, free: 38.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.4072, allocations: 7.984 kB / 438.4 MB, free: 38.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.4072, allocations: 25.7 kB / 438.4 MB, free: 38.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.038e-05/0.4073, allocations: 12.06 kB / 438.4 MB, free: 38.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.4073, allocations: 0 / 438.4 MB, free: 38.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4073, allocations: 0 / 438.4 MB, free: 38.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.4073, allocations: 0 / 438.4 MB, free: 38.78 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003629/0.4076, allocations: 325.8 kB / 438.8 MB, free: 38.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.4077, allocations: 12.25 kB / 438.8 MB, free: 38.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.138e-05/0.4077, allocations: 41.23 kB / 438.8 MB, free: 38.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.256e-05/0.4078, allocations: 0 / 438.8 MB, free: 38.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.4079, allocations: 161.4 kB / 439 MB, free: 38.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.4079, allocations: 0 / 439 MB, free: 38.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.4079, allocations: 10.59 kB / 439 MB, free: 38.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.408, allocations: 38.52 kB / 439 MB, free: 38.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.4081, allocations: 3.953 kB / 439 MB, free: 38.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.4081, allocations: 2.719 kB / 439 MB, free: 38.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.4081, allocations: 0 / 439 MB, free: 38.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.842e-05/0.4081, allocations: 19.73 kB / 439 MB, free: 38.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.4085, allocations: 253.4 kB / 439.3 MB, free: 37.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.36e-05/0.4086, allocations: 36.95 kB / 439.3 MB, free: 37.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.4086, allocations: 6.547 kB / 439.3 MB, free: 37.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.304e-05/0.4086, allocations: 30.56 kB / 439.4 MB, free: 37.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4086, allocations: 4 kB / 439.4 MB, free: 37.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002033/0.4088, allocations: 54.91 kB / 439.4 MB, free: 37.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.4089, allocations: 51.41 kB / 439.5 MB, free: 37.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.496e-05/0.4089, allocations: 103.6 kB / 439.6 MB, free: 37.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.409, allocations: 25.7 kB / 439.6 MB, free: 37.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.904e-05/0.409, allocations: 93.98 kB / 439.7 MB, free: 37.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.409, allocations: 3.906 kB / 439.7 MB, free: 37.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.409, allocations: 0 / 439.7 MB, free: 37.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.212e-05/0.4091, allocations: 316.9 kB / 440 MB, free: 37.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.4091, allocations: 11.25 kB / 440 MB, free: 37.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.232e-05/0.4091, allocations: 5.969 kB / 440 MB, free: 37.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.321e-05/0.4092, allocations: 9.406 kB / 440 MB, free: 37.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4092, allocations: 0 / 440 MB, free: 37.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.781e-05/0.4092, allocations: 47.83 kB / 440.1 MB, free: 37.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.4093, allocations: 9.672 kB / 440.1 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4093, allocations: 0 / 440.1 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.4093, allocations: 0 / 440.1 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.979e-05/0.4094, allocations: 4.719 kB / 440.1 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4094, allocations: 6.875 kB / 440.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.74e-05/0.4094, allocations: 3.328 kB / 440.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.4094, allocations: 0 / 440.1 MB, free: 37.06 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 8.892e-05/0.4095, allocations: 113.2 kB / 440.2 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.4096, allocations: 0 / 440.2 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.4097, allocations: 81.59 kB / 440.3 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4097, allocations: 4 kB / 440.3 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4097, allocations: 0 / 440.3 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4098, allocations: 2.062 kB / 440.3 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.4099, allocations: 164.7 kB / 440.5 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4099, allocations: 0 / 440.5 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.048e-05/0.41, allocations: 8.5 kB / 440.5 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.41, allocations: 2.406 kB / 440.5 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.41, allocations: 4 kB / 440.5 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.41, allocations: 7.891 kB / 440.5 MB, free: 36.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.41, allocations: 3.984 kB / 440.5 MB, free: 36.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.4101, allocations: 153.5 kB / 440.6 MB, free: 36.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.596e-05/0.4102, allocations: 95.08 kB / 440.7 MB, free: 36.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.4102, allocations: 0 / 440.7 MB, free: 36.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.41e-05/0.4102, allocations: 4 kB / 440.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.4103, allocations: 6.641 kB / 440.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.4103, allocations: 2.594 kB / 440.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.345e-05/0.4103, allocations: 81.03 kB / 440.8 MB, free: 36.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4103, allocations: 0 / 440.8 MB, free: 36.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002319/0.4106, allocations: 11.03 kB / 440.8 MB, free: 36.33 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 5 * 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.0002725/0.4108, allocations: 0.6738 MB / 441.5 MB, free: 35.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.405e-05/0.4109, allocations: 22.28 kB / 441.5 MB, free: 35.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4109, allocations: 6.875 kB / 441.5 MB, free: 35.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.996e-05/0.411, allocations: 12.25 kB / 441.5 MB, free: 35.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.4113, allocations: 17.22 kB / 441.6 MB, free: 35.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005373/0.4118, allocations: 357.8 kB / 441.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.4119, allocations: 0.6822 MB / 442.6 MB, free: 34.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.42e-05/0.412, allocations: 8.031 kB / 442.6 MB, free: 34.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.412, allocations: 15.41 kB / 442.6 MB, free: 34.59 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.412, allocations: 0 / 442.6 MB, free: 34.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01473/0.4268, allocations: 1.046 MB / 443.7 MB, free: 34.44 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/0.427, allocations: 157.3 kB / 443.8 MB, free: 34.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.079/2.506, allocations: 0 / 443.8 MB, free: 34.2 MB / 350.1 MB (rm -f AES_AES.Devel_test_models.Test_SR01.pipe ; mkfifo AES_AES.Devel_test_models.Test_SR01.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SR01.pipe >> ../files/AES_AES.Devel_test_models.Test_SR01.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_SR01_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_SR01.fmu > AES_AES.Devel_test_models.Test_SR01.pipe 2>&1) Environment - environmentSimulation: