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.0008358/0.000836, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.0008121/0.0008121, allocations: 172.7 kB / 15.95 MB, free: 208 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.328/1.328, allocations: 223.2 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2183/0.2183, allocations: 22.35 MB / 313.4 MB, free: 13.2 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002946/0.0002947, allocations: 8 kB / 382 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2877, allocations: 55.98 MB / 438 MB, free: 39.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001): time 0.001467/0.2892, allocations: 1.384 MB / 439.4 MB, free: 38.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001711/0.2894, allocations: 62.33 kB / 439.5 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.2894, allocations: 0 / 439.5 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.485e-05/0.2895, allocations: 5.828 kB / 439.5 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.2896, allocations: 17.8 kB / 439.5 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.107e-05/0.2896, allocations: 14.27 kB / 439.5 MB, free: 38.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.544e-05/0.2897, allocations: 74.56 kB / 439.6 MB, free: 38.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.2898, allocations: 20 kB / 439.6 MB, free: 38.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.01e-05/0.2899, allocations: 22.31 kB / 439.6 MB, free: 38.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.377e-05/0.29, allocations: 36.59 kB / 439.7 MB, free: 38.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.29, allocations: 2.375 kB / 439.7 MB, free: 38.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.29, allocations: 4.938 kB / 439.7 MB, free: 38.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.29, allocations: 14.5 kB / 439.7 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.2901, allocations: 42.25 kB / 439.7 MB, free: 38.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.103e-05/0.2901, allocations: 50.02 kB / 439.8 MB, free: 38.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2901, allocations: 0 / 439.8 MB, free: 38.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2901, allocations: 0 / 439.8 MB, free: 38.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.2902, allocations: 0 / 439.8 MB, free: 38.09 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.0003148/0.2905, allocations: 362.5 kB / 440.1 MB, free: 37.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2905, allocations: 10.69 kB / 440.1 MB, free: 37.71 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.146e-05/0.2906, allocations: 40.59 kB / 440.2 MB, free: 37.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.2906, allocations: 13.91 kB / 440.2 MB, free: 37.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.164e-05/0.2907, allocations: 163 kB / 440.3 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.2907, allocations: 13.84 kB / 440.4 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.2907, allocations: 10.19 kB / 440.4 MB, free: 37.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.2909, allocations: 89.94 kB / 440.5 MB, free: 37.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2909, allocations: 0 / 440.5 MB, free: 37.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.2909, allocations: 3.984 kB / 440.5 MB, free: 37.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.2909, allocations: 2.906 kB / 440.5 MB, free: 37.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.459e-05/0.291, allocations: 50.72 kB / 440.5 MB, free: 37.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.2915, allocations: 461.7 kB / 441 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.825e-05/0.2916, allocations: 55.5 kB / 441 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.737e-05/0.2917, allocations: 28.61 kB / 441 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.2917, allocations: 4 kB / 441.1 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.2917, allocations: 36.94 kB / 441.1 MB, free: 36.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.2917, allocations: 0 / 441.1 MB, free: 36.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001759/0.2919, allocations: 72.05 kB / 441.2 MB, free: 36.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.2919, allocations: 55.41 kB / 441.2 MB, free: 36.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.94e-05/0.292, allocations: 103.3 kB / 441.3 MB, free: 36.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.292, allocations: 28.7 kB / 441.3 MB, free: 36.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.2921, allocations: 110 kB / 441.4 MB, free: 36.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.2921, allocations: 26.02 kB / 441.5 MB, free: 36.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/0.2921, allocations: 4 kB / 441.5 MB, free: 36.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.653e-05/0.2921, allocations: 317 kB / 441.8 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.563e-05/0.2922, allocations: 13.78 kB / 441.8 MB, free: 36.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.381e-05/0.2922, allocations: 37.81 kB / 441.8 MB, free: 36.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.578e-05/0.2922, allocations: 20.67 kB / 441.9 MB, free: 36.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2923, allocations: 0 / 441.9 MB, free: 36.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001003/0.2924, allocations: 82.92 kB / 441.9 MB, free: 36.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2924, allocations: 5.656 kB / 441.9 MB, free: 36.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2924, allocations: 0 / 441.9 MB, free: 36.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2924, allocations: 2.531 kB / 441.9 MB, free: 36.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.984e-05/0.2925, allocations: 17.27 kB / 442 MB, free: 36.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.2925, allocations: 10.7 kB / 442 MB, free: 36.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.955e-05/0.2926, allocations: 7.906 kB / 442 MB, free: 36.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.2926, allocations: 2.969 kB / 442 MB, free: 36.04 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.934e-05/0.2927, allocations: 119.2 kB / 442.1 MB, free: 35.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.2927, allocations: 2.906 kB / 442.1 MB, free: 35.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.2928, allocations: 81.27 kB / 442.2 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2928, allocations: 3.625 kB / 442.2 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.2928, allocations: 0 / 442.2 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2928, allocations: 3.953 kB / 442.2 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.293, allocations: 191.1 kB / 442.4 MB, free: 35.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.293, allocations: 3.938 kB / 442.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-05/0.2931, allocations: 10.53 kB / 442.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.2931, allocations: 9.703 kB / 442.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.2931, allocations: 8.438 kB / 442.4 MB, free: 35.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2931, allocations: 0 / 442.4 MB, free: 35.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2931, allocations: 0 / 442.4 MB, free: 35.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.807e-05/0.2932, allocations: 160.2 kB / 442.6 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.15e-05/0.2932, allocations: 87.58 kB / 442.7 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.2932, allocations: 3.328 kB / 442.7 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.368e-05/0.2933, allocations: 0 / 442.7 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.2933, allocations: 10.78 kB / 442.7 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.2933, allocations: 2.969 kB / 442.7 MB, free: 35.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.47e-05/0.2934, allocations: 87.78 kB / 442.8 MB, free: 35.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2934, allocations: 192 / 442.8 MB, free: 35.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.2936, allocations: 15.28 kB / 442.8 MB, free: 35.3 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.0002578/0.2939, allocations: 0.7027 MB / 443.5 MB, free: 34.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.874e-05/0.294, allocations: 45.69 kB / 443.5 MB, free: 34.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.294, allocations: 0 / 443.5 MB, free: 34.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.405e-05/0.294, allocations: 16.47 kB / 443.5 MB, free: 34.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.2943, allocations: 6.812 kB / 443.5 MB, free: 34.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004387/0.2947, allocations: 243.4 kB / 443.8 MB, free: 34.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.2948, allocations: 0.6936 MB / 444.5 MB, free: 33.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.955e-05/0.2949, allocations: 9.531 kB / 444.5 MB, free: 33.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.2949, allocations: 21.78 kB / 444.5 MB, free: 33.66 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2949, allocations: 0 / 444.5 MB, free: 33.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01011/0.3051, allocations: 1.255 MB / 445.8 MB, free: 33.5 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001158/0.3052, allocations: 160.3 kB / 445.9 MB, free: 33.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/1.889, allocations: 0 / 445.9 MB, free: 33.25 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: