Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HP_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_HP_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_HP_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_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.0009583/0.000958, 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.001018/0.001018, 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.521/1.521, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2168/0.2168, allocations: 22.33 MB / 313.3 MB, free: 13.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003758, allocations: 16 kB / 381.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3586, allocations: 55.97 MB / 437.9 MB, free: 39.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001): time 0.001454/0.3601, allocations: 1.355 MB / 439.2 MB, free: 38.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001821/0.3603, allocations: 61.52 kB / 439.3 MB, free: 38.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.3604, allocations: 6.812 kB / 439.3 MB, free: 38.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.631e-05/0.3604, allocations: 3.375 kB / 439.3 MB, free: 38.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.3605, allocations: 30.27 kB / 439.3 MB, free: 38.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.046e-05/0.3606, allocations: 14.14 kB / 439.4 MB, free: 38.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.53e-05/0.3607, allocations: 51.73 kB / 439.4 MB, free: 38.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3608, allocations: 25.41 kB / 439.4 MB, free: 38.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.915e-05/0.3608, allocations: 20.88 kB / 439.5 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.219e-05/0.3609, allocations: 31.95 kB / 439.5 MB, free: 38.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.3609, allocations: 2.594 kB / 439.5 MB, free: 38.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.395e-05/0.3609, allocations: 4.875 kB / 439.5 MB, free: 38.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.3609, allocations: 15.36 kB / 439.5 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.361, allocations: 41.02 kB / 439.5 MB, free: 38.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.927e-05/0.3611, allocations: 52.47 kB / 439.6 MB, free: 38.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.3611, allocations: 0 / 439.6 MB, free: 38.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3611, allocations: 0 / 439.6 MB, free: 38.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.686e-06/0.3611, allocations: 0 / 439.6 MB, free: 38.25 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003593/0.3614, allocations: 360.6 kB / 439.9 MB, free: 37.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.3615, allocations: 8.875 kB / 440 MB, free: 37.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.3615, allocations: 48.97 kB / 440 MB, free: 37.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.756e-05/0.3616, allocations: 6.719 kB / 440 MB, free: 37.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.874e-05/0.3617, allocations: 173.1 kB / 440.2 MB, free: 37.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.3617, allocations: 6.031 kB / 440.2 MB, free: 37.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.3617, allocations: 13.78 kB / 440.2 MB, free: 37.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.3619, allocations: 89.89 kB / 440.3 MB, free: 37.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.3619, allocations: 0 / 440.3 MB, free: 37.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3619, allocations: 4 kB / 440.3 MB, free: 37.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3619, allocations: 2.938 kB / 440.3 MB, free: 37.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.873e-05/0.362, allocations: 50.36 kB / 440.3 MB, free: 37.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.3625, allocations: 447.4 kB / 440.8 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.3627, allocations: 61.58 kB / 440.8 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.3627, allocations: 3.938 kB / 440.8 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.3627, allocations: 42.03 kB / 440.9 MB, free: 37.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.3627, allocations: 0 / 440.9 MB, free: 37.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001591/0.3629, allocations: 77.34 kB / 441 MB, free: 36.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.3629, allocations: 59.36 kB / 441 MB, free: 36.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.564e-05/0.363, allocations: 104.2 kB / 441.1 MB, free: 36.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.363, allocations: 29.64 kB / 441.1 MB, free: 36.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.3631, allocations: 109.3 kB / 441.3 MB, free: 36.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.3631, allocations: 21.95 kB / 441.3 MB, free: 36.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.3631, allocations: 4 kB / 441.3 MB, free: 36.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.712e-05/0.3631, allocations: 317.9 kB / 441.6 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.44e-05/0.3632, allocations: 17.33 kB / 441.6 MB, free: 36.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.378e-05/0.3632, allocations: 34.02 kB / 441.6 MB, free: 36.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.671e-05/0.3632, allocations: 24.7 kB / 441.7 MB, free: 36.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3633, allocations: 0 / 441.7 MB, free: 36.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.463e-05/0.3634, allocations: 79.73 kB / 441.7 MB, free: 36.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3634, allocations: 6 kB / 441.7 MB, free: 36.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3634, allocations: 0 / 441.7 MB, free: 36.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.3634, allocations: 2.5 kB / 441.8 MB, free: 36.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.744e-05/0.3635, allocations: 17.09 kB / 441.8 MB, free: 36.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.3635, allocations: 10.73 kB / 441.8 MB, free: 36.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.033e-05/0.3635, allocations: 11.84 kB / 441.8 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.3636, allocations: 2.812 kB / 441.8 MB, free: 36.2 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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 5.507e-05/0.3636, allocations: 115.5 kB / 441.9 MB, free: 36.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.3636, allocations: 4.25 kB / 441.9 MB, free: 36.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.3638, allocations: 78.91 kB / 442 MB, free: 36.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3638, allocations: 7.219 kB / 442 MB, free: 36.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3638, allocations: 0 / 442 MB, free: 36.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3638, allocations: 3.953 kB / 442 MB, free: 36.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.3639, allocations: 192.9 kB / 442.2 MB, free: 35.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.364, allocations: 0 / 442.2 MB, free: 35.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.064e-05/0.364, allocations: 18.12 kB / 442.2 MB, free: 35.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.364, allocations: 0 / 442.2 MB, free: 35.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.364, allocations: 10.38 kB / 442.2 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.364, allocations: 0 / 442.2 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3641, allocations: 0 / 442.2 MB, free: 35.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.713e-05/0.3642, allocations: 159.7 kB / 442.4 MB, free: 35.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.3642, allocations: 83.83 kB / 442.5 MB, free: 35.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.3642, allocations: 0 / 442.5 MB, free: 35.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.3643, allocations: 3.328 kB / 442.5 MB, free: 35.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.3643, allocations: 7.688 kB / 442.5 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.3643, allocations: 6.531 kB / 442.5 MB, free: 35.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.723e-05/0.3644, allocations: 91.8 kB / 442.6 MB, free: 35.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.22e-07/0.3644, allocations: 0 / 442.6 MB, free: 35.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002195/0.3646, allocations: 18.97 kB / 442.6 MB, free: 35.46 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 (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 Backend phase and start with SimCode phase: time 0.0002467/0.3648, allocations: 0.6938 MB / 443.3 MB, free: 34.78 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.62e-05/0.3649, allocations: 48.53 kB / 443.3 MB, free: 34.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3649, allocations: 0 / 443.3 MB, free: 34.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.343e-05/0.365, allocations: 16.44 kB / 443.3 MB, free: 34.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.3652, allocations: 6.844 kB / 443.3 MB, free: 34.76 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004407/0.3656, allocations: 243.8 kB / 443.6 MB, free: 34.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.3657, allocations: 0.693 MB / 444.3 MB, free: 33.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.774e-05/0.3658, allocations: 6.172 kB / 444.3 MB, free: 33.85 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.3658, allocations: 25.34 kB / 444.3 MB, free: 33.83 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3658, allocations: 4 kB / 444.3 MB, free: 33.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01057/0.3764, allocations: 1.238 MB / 445.5 MB, free: 33.67 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001255/0.3766, allocations: 161.9 kB / 445.7 MB, free: 33.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/2.103, allocations: 0 / 445.7 MB, free: 33.43 MB / 350.1 MB (rm -f AES_AES.Devel_test_models.Test_HP_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_HP_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HP_001.pipe >> ../files/AES_AES.Devel_test_models.Test_HP_001.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_HP_001_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_HP_001.fmu > AES_AES.Devel_test_models.Test_HP_001.pipe 2>&1) Environment - environmentSimulation: