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.001198/0.001198, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001202/0.001202, allocations: 190.7 kB / 16.25 MB, free: 6.582 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.193/1.193, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1788/0.1788, allocations: 22.36 MB / 312.4 MB, free: 12.66 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 59.91 kB / 380.4 MB, free: 10.87 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2127, allocations: 54.94 MB / 435.4 MB, free: 39.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.001574/0.2143, allocations: 0.7648 MB / 436.1 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001171/0.2144, allocations: 21.2 kB / 436.1 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.358e-05/0.2145, allocations: 4 kB / 436.1 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.2145, allocations: 0 / 436.1 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.709e-05/0.2146, allocations: 0 / 436.1 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.368e-05/0.2146, allocations: 10.69 kB / 436.2 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.384e-05/0.2147, allocations: 20.55 kB / 436.2 MB, free: 39.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.604e-05/0.2148, allocations: 7 kB / 436.2 MB, free: 39.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.894e-05/0.2148, allocations: 10.47 kB / 436.2 MB, free: 39.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.071e-05/0.2148, allocations: 16.98 kB / 436.2 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.2149, allocations: 4 kB / 436.2 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.777e-06/0.2149, allocations: 2.875 kB / 436.2 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.2149, allocations: 0 / 436.2 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.064e-05/0.2149, allocations: 14.98 kB / 436.2 MB, free: 39.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.974e-05/0.215, allocations: 13.52 kB / 436.2 MB, free: 39.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.215, allocations: 6.875 kB / 436.2 MB, free: 39.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.215, allocations: 0 / 436.2 MB, free: 39.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.215, allocations: 0 / 436.2 MB, free: 39.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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002639/0.2153, allocations: 329.1 kB / 436.6 MB, free: 38.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.2153, allocations: 10.34 kB / 436.6 MB, free: 38.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.186e-05/0.2153, allocations: 38.69 kB / 436.6 MB, free: 38.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.88e-05/0.2153, allocations: 2.719 kB / 436.6 MB, free: 38.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.736e-05/0.2154, allocations: 171.2 kB / 436.8 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.2154, allocations: 384 / 436.8 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.2154, allocations: 3.281 kB / 436.8 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.331e-05/0.2155, allocations: 46.5 kB / 436.8 MB, free: 38.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.2155, allocations: 3.938 kB / 436.8 MB, free: 38.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.2155, allocations: 0 / 436.8 MB, free: 38.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.2155, allocations: 0 / 436.8 MB, free: 38.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.774e-05/0.2156, allocations: 15.77 kB / 436.9 MB, free: 38.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002178/0.2158, allocations: 258.4 kB / 437.1 MB, free: 38.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.895e-05/0.2159, allocations: 40.86 kB / 437.1 MB, free: 38.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/0.2159, allocations: 16.19 kB / 437.2 MB, free: 38.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.2159, allocations: 0 / 437.2 MB, free: 38.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.12e-05/0.216, allocations: 38.28 kB / 437.2 MB, free: 38.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.216, allocations: 0 / 437.2 MB, free: 38.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.000121/0.2161, allocations: 54.45 kB / 437.3 MB, free: 38.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.836e-05/0.2161, allocations: 55.41 kB / 437.3 MB, free: 37.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.872e-05/0.2162, allocations: 98.94 kB / 437.4 MB, free: 37.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.102e-06/0.2162, allocations: 25.7 kB / 437.4 MB, free: 37.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.982e-05/0.2162, allocations: 86.98 kB / 437.5 MB, free: 37.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.2162, allocations: 7.891 kB / 437.5 MB, free: 37.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.2162, allocations: 20.02 kB / 437.5 MB, free: 37.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.306e-05/0.2163, allocations: 317.7 kB / 437.9 MB, free: 37.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/0.2163, allocations: 3 kB / 437.9 MB, free: 37.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.131e-05/0.2163, allocations: 14.36 kB / 437.9 MB, free: 37.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.93e-05/0.2164, allocations: 17.48 kB / 437.9 MB, free: 37.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2164, allocations: 3.938 kB / 437.9 MB, free: 37.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.538e-05/0.2164, allocations: 49.23 kB / 437.9 MB, free: 37.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.2164, allocations: 5.75 kB / 437.9 MB, free: 37.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.2164, allocations: 0 / 437.9 MB, free: 37.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.2165, allocations: 4.047 kB / 437.9 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.144e-05/0.2165, allocations: 9.672 kB / 438 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.2165, allocations: 0 / 438 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.445e-05/0.2165, allocations: 3.375 kB / 438 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.2166, allocations: 3.031 kB / 438 MB, free: 37.32 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.542e-05/0.2166, allocations: 117.7 kB / 438.1 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.2166, allocations: 10.78 kB / 438.1 MB, free: 37.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.2167, allocations: 77.23 kB / 438.2 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.2168, allocations: 0 / 438.2 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2168, allocations: 0 / 438.2 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.2168, allocations: 3.938 kB / 438.2 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.2169, allocations: 165.2 kB / 438.3 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2169, allocations: 0 / 438.3 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.96e-05/0.2169, allocations: 9.938 kB / 438.3 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2169, allocations: 3.125 kB / 438.3 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.2169, allocations: 4 kB / 438.3 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.217, allocations: 0 / 438.3 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.217, allocations: 4 kB / 438.3 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.393e-05/0.217, allocations: 153.6 kB / 438.5 MB, free: 36.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.2171, allocations: 87.7 kB / 438.6 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.2171, allocations: 4 kB / 438.6 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.371e-05/0.2171, allocations: 4.125 kB / 438.6 MB, free: 36.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.2171, allocations: 6.016 kB / 438.6 MB, free: 36.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.2172, allocations: 0 / 438.6 MB, free: 36.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.861e-05/0.2172, allocations: 84.88 kB / 438.7 MB, free: 36.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2172, allocations: 0 / 438.7 MB, free: 36.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000199/0.2174, allocations: 7.344 kB / 438.7 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.0001878/0.2176, allocations: 0.6784 MB / 439.4 MB, free: 35.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.678e-05/0.2177, allocations: 26.42 kB / 439.4 MB, free: 35.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2177, allocations: 4 kB / 439.4 MB, free: 35.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.882e-05/0.2177, allocations: 14.66 kB / 439.4 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.0002492/0.218, allocations: 11.58 kB / 439.4 MB, free: 35.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005788/0.2185, allocations: 1.188 MB / 440.6 MB, free: 34.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.086e-05/0.2186, allocations: 0.6769 MB / 441.3 MB, free: 34.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.856e-05/0.2187, allocations: 12.06 kB / 441.3 MB, free: 34.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.2187, allocations: 9.625 kB / 441.3 MB, free: 34.01 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2187, allocations: 0 / 441.3 MB, free: 34.01 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009254/0.228, allocations: 1.17 MB / 442.5 MB, free: 33.77 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001232/0.2281, allocations: 166 kB / 442.6 MB, free: 33.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/1.792, allocations: 0 / 442.6 MB, free: 33.52 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)