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.001248/0.001248, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001274/0.001274, allocations: 195.4 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1753/0.1753, allocations: 22.37 MB / 312.3 MB, free: 12.59 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 63.91 kB / 380.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2485, allocations: 54.94 MB / 435.2 MB, free: 39.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.001731/0.2502, allocations: 0.7778 MB / 435.9 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001204/0.2504, allocations: 20.34 kB / 436 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.561e-05/0.2504, allocations: 0 / 436 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.2504, allocations: 0 / 436 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.126e-05/0.2505, allocations: 0 / 436 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.888e-05/0.2506, allocations: 5.75 kB / 436 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.865e-05/0.2507, allocations: 29.36 kB / 436 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.426e-05/0.2507, allocations: 10.19 kB / 436 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.884e-05/0.2508, allocations: 2.656 kB / 436 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.491e-05/0.2508, allocations: 17.39 kB / 436 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.2508, allocations: 0 / 436 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-06/0.2509, allocations: 2.906 kB / 436 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.2509, allocations: 0 / 436 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.2509, allocations: 18.81 kB / 436 MB, free: 39.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.374e-05/0.251, allocations: 11.33 kB / 436.1 MB, free: 39.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.251, allocations: 0 / 436.1 MB, free: 39.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.62e-07/0.251, allocations: 3.938 kB / 436.1 MB, free: 39.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.966e-06/0.251, allocations: 0 / 436.1 MB, free: 39.08 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.0002842/0.2513, allocations: 335.4 kB / 436.4 MB, free: 38.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.2513, allocations: 12.88 kB / 436.4 MB, free: 38.71 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.42e-05/0.2513, allocations: 33.22 kB / 436.4 MB, free: 38.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.025e-05/0.2514, allocations: 4.875 kB / 436.4 MB, free: 38.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.28e-05/0.2514, allocations: 162.8 kB / 436.6 MB, free: 38.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.2515, allocations: 384 / 436.6 MB, free: 38.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.2515, allocations: 2.688 kB / 436.6 MB, free: 38.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.231e-05/0.2515, allocations: 44.69 kB / 436.6 MB, free: 38.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.2516, allocations: 3.938 kB / 436.6 MB, free: 38.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.2516, allocations: 4 kB / 436.6 MB, free: 38.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2516, allocations: 0 / 436.6 MB, free: 38.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.866e-05/0.2516, allocations: 18.92 kB / 436.7 MB, free: 38.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002496/0.2519, allocations: 258.3 kB / 436.9 MB, free: 38.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.772e-05/0.252, allocations: 36.36 kB / 437 MB, free: 38.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.566e-05/0.252, allocations: 20.86 kB / 437 MB, free: 38.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.252, allocations: 0 / 437 MB, free: 38.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.171e-05/0.252, allocations: 30.56 kB / 437 MB, free: 38.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.2521, allocations: 3.984 kB / 437 MB, free: 38.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.000139/0.2522, allocations: 63.8 kB / 437.1 MB, free: 38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.99e-05/0.2522, allocations: 51.41 kB / 437.1 MB, free: 37.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.375e-05/0.2523, allocations: 99.3 kB / 437.2 MB, free: 37.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.2523, allocations: 25.7 kB / 437.2 MB, free: 37.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.179e-05/0.2523, allocations: 89.48 kB / 437.3 MB, free: 37.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.2523, allocations: 7.906 kB / 437.3 MB, free: 37.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.2524, allocations: 12.5 kB / 437.4 MB, free: 37.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.623e-05/0.2524, allocations: 316.9 kB / 437.7 MB, free: 37.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.2524, allocations: 6.719 kB / 437.7 MB, free: 37.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.12e-05/0.2524, allocations: 2.562 kB / 437.7 MB, free: 37.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.233e-05/0.2525, allocations: 22.05 kB / 437.7 MB, free: 37.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2525, allocations: 3.938 kB / 437.7 MB, free: 37.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.435e-05/0.2526, allocations: 58.27 kB / 437.8 MB, free: 37.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.2526, allocations: 2.938 kB / 437.8 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.2526, allocations: 2.5 kB / 437.8 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.2526, allocations: 0 / 437.8 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.794e-05/0.2527, allocations: 8.938 kB / 437.8 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.2527, allocations: 0 / 437.8 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.52e-05/0.2527, allocations: 0 / 437.8 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.2527, allocations: 6.219 kB / 437.8 MB, free: 37.31 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.2527, allocations: 117 kB / 437.9 MB, free: 37.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.2528, allocations: 11.06 kB / 437.9 MB, free: 37.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.2529, allocations: 73.62 kB / 438 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2529, allocations: 0 / 438 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2529, allocations: 0 / 438 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2529, allocations: 0 / 438 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.2531, allocations: 172.6 kB / 438.1 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2531, allocations: 0 / 438.1 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.2531, allocations: 9.312 kB / 438.1 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2531, allocations: 4 kB / 438.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.2531, allocations: 2.781 kB / 438.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2531, allocations: 0 / 438.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2531, allocations: 0 / 438.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.489e-05/0.2532, allocations: 158 kB / 438.3 MB, free: 36.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.943e-05/0.2533, allocations: 84.95 kB / 438.4 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.2533, allocations: 9.875 kB / 438.4 MB, free: 36.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.801e-05/0.2533, allocations: 0 / 438.4 MB, free: 36.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.2534, allocations: 7.906 kB / 438.4 MB, free: 36.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.2534, allocations: 0 / 438.4 MB, free: 36.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.22e-05/0.2534, allocations: 85.48 kB / 438.5 MB, free: 36.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2534, allocations: 0 / 438.5 MB, free: 36.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002087/0.2536, allocations: 5.031 kB / 438.5 MB, free: 36.59 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002105/0.2538, allocations: 0.6804 MB / 439.2 MB, free: 35.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.337e-05/0.2539, allocations: 28.42 kB / 439.2 MB, free: 35.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.2539, allocations: 0 / 439.2 MB, free: 35.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.969e-05/0.254, allocations: 12.17 kB / 439.2 MB, free: 35.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.2542, allocations: 6.812 kB / 439.2 MB, free: 35.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000635/0.2549, allocations: 1.198 MB / 440.4 MB, free: 34.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.943e-05/0.255, allocations: 0.6784 MB / 441.1 MB, free: 34.01 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.065e-05/0.255, allocations: 7.031 kB / 441.1 MB, free: 34.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.255, allocations: 18.19 kB / 441.1 MB, free: 34 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.255, allocations: 0 / 441.1 MB, free: 34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.403/1.658, allocations: 1.115 MB / 442.2 MB, free: 33.77 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/1.658, allocations: 164.5 kB / 442.4 MB, free: 33.51 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.437/3.095, allocations: 0 / 442.4 MB, free: 33.51 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/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)