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.001179/0.001179, allocations: 111.3 kB / 15.24 MB, free: 0.6484 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.00115/0.00115, allocations: 203.1 kB / 16.15 MB, free: 6.598 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.167/1.167, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1633/0.1633, allocations: 22.35 MB / 312.3 MB, free: 12.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001406, allocations: 67.91 kB / 380.2 MB, free: 11.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2107, allocations: 54.94 MB / 435.2 MB, free: 39.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.001486/0.2122, allocations: 0.7727 MB / 435.9 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001016/0.2123, allocations: 22.19 kB / 435.9 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.382e-05/0.2123, allocations: 0 / 435.9 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.541e-05/0.2124, allocations: 6.781 kB / 436 MB, free: 39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.372e-05/0.2124, allocations: 0 / 436 MB, free: 39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.308e-05/0.2125, allocations: 4 kB / 436 MB, free: 39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.186e-05/0.2125, allocations: 16.19 kB / 436 MB, free: 39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.106e-05/0.2126, allocations: 10.22 kB / 436 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.656e-05/0.2126, allocations: 17.72 kB / 436 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.853e-05/0.2127, allocations: 14.2 kB / 436 MB, free: 38.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.2127, allocations: 0 / 436 MB, free: 38.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.908e-06/0.2127, allocations: 2.969 kB / 436 MB, free: 38.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.2127, allocations: 0 / 436 MB, free: 38.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.9e-05/0.2127, allocations: 10.94 kB / 436 MB, free: 38.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.59e-05/0.2128, allocations: 17.48 kB / 436 MB, free: 38.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2128, allocations: 0 / 436 MB, free: 38.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.2128, allocations: 0 / 436 MB, free: 38.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.965e-06/0.2128, allocations: 0 / 436 MB, free: 38.96 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.0002455/0.2131, allocations: 334.9 kB / 436.4 MB, free: 38.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.2131, allocations: 20.03 kB / 436.4 MB, free: 38.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.989e-05/0.2131, allocations: 30.75 kB / 436.4 MB, free: 38.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.831e-05/0.2131, allocations: 0.9375 kB / 436.4 MB, free: 38.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.114e-05/0.2132, allocations: 166.7 kB / 436.6 MB, free: 38.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.2132, allocations: 4.375 kB / 436.6 MB, free: 38.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.2132, allocations: 3.25 kB / 436.6 MB, free: 38.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.867e-05/0.2133, allocations: 47.48 kB / 436.6 MB, free: 38.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.2133, allocations: 3.938 kB / 436.6 MB, free: 38.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.541e-06/0.2133, allocations: 0 / 436.6 MB, free: 38.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.2133, allocations: 0 / 436.6 MB, free: 38.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.424e-05/0.2134, allocations: 19.8 kB / 436.7 MB, free: 38.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002114/0.2136, allocations: 250.5 kB / 436.9 MB, free: 38.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.789e-05/0.2137, allocations: 45.66 kB / 436.9 MB, free: 37.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.175e-05/0.2137, allocations: 11.05 kB / 437 MB, free: 37.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.2137, allocations: 0 / 437 MB, free: 37.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.017e-05/0.2137, allocations: 42.53 kB / 437 MB, free: 37.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2138, allocations: 3.984 kB / 437 MB, free: 37.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001203/0.2139, allocations: 53.8 kB / 437.1 MB, free: 37.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.392e-05/0.2139, allocations: 51.41 kB / 437.1 MB, free: 37.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.851e-05/0.2139, allocations: 99.67 kB / 437.2 MB, free: 37.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.42e-06/0.214, allocations: 29.64 kB / 437.2 MB, free: 37.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.778e-05/0.214, allocations: 83.8 kB / 437.3 MB, free: 37.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.214, allocations: 10.41 kB / 437.3 MB, free: 37.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/0.214, allocations: 16.31 kB / 437.3 MB, free: 37.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.024e-05/0.2141, allocations: 314.8 kB / 437.6 MB, free: 37.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.411e-05/0.2141, allocations: 8.672 kB / 437.7 MB, free: 37.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.029e-05/0.2141, allocations: 2.719 kB / 437.7 MB, free: 37.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.908e-05/0.2141, allocations: 21.27 kB / 437.7 MB, free: 37.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.2141, allocations: 3.938 kB / 437.7 MB, free: 37.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.806e-05/0.2142, allocations: 46.17 kB / 437.7 MB, free: 37.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.2142, allocations: 6.656 kB / 437.7 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.2142, allocations: 4 kB / 437.7 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.2142, allocations: 3.375 kB / 437.7 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.154e-05/0.2143, allocations: 7.812 kB / 437.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.2143, allocations: 0 / 437.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.415e-05/0.2143, allocations: 0 / 437.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.2143, allocations: 2.562 kB / 437.8 MB, free: 37.2 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.4e-05/0.2144, allocations: 117.7 kB / 437.9 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.2144, allocations: 5.969 kB / 437.9 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.2145, allocations: 76.75 kB / 438 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.2145, allocations: 0 / 438 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2145, allocations: 6.656 kB / 438 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2145, allocations: 4 kB / 438 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.2147, allocations: 169.8 kB / 438.1 MB, free: 36.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2147, allocations: 2.938 kB / 438.1 MB, free: 36.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.2147, allocations: 9.594 kB / 438.1 MB, free: 36.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2147, allocations: 0 / 438.1 MB, free: 36.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.2147, allocations: 0 / 438.1 MB, free: 36.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2147, allocations: 6.844 kB / 438.1 MB, free: 36.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2147, allocations: 0 / 438.1 MB, free: 36.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.523e-05/0.2148, allocations: 157.6 kB / 438.3 MB, free: 36.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.417e-05/0.2148, allocations: 84.95 kB / 438.4 MB, free: 36.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.2148, allocations: 0 / 438.4 MB, free: 36.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.485e-05/0.2149, allocations: 6.844 kB / 438.4 MB, free: 36.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.2149, allocations: 3.281 kB / 438.4 MB, free: 36.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.2149, allocations: 2.781 kB / 438.4 MB, free: 36.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.863e-05/0.215, allocations: 82.23 kB / 438.5 MB, free: 36.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.215, allocations: 0 / 438.5 MB, free: 36.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002014/0.2152, allocations: 9.156 kB / 438.5 MB, free: 36.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 (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.0001917/0.2154, allocations: 0.6838 MB / 439.2 MB, free: 35.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.393e-05/0.2154, allocations: 19.62 kB / 439.2 MB, free: 35.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.2154, allocations: 0 / 439.2 MB, free: 35.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.984e-05/0.2155, allocations: 21.02 kB / 439.2 MB, free: 35.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.2157, allocations: 3.203 kB / 439.2 MB, free: 35.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005714/0.2163, allocations: 1.195 MB / 440.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.984e-05/0.2164, allocations: 0.678 MB / 441.1 MB, free: 33.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.904e-05/0.2164, allocations: 9.438 kB / 441.1 MB, free: 33.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.2164, allocations: 17.59 kB / 441.1 MB, free: 33.88 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2164, allocations: 0 / 441.1 MB, free: 33.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1903/0.4067, allocations: 1.113 MB / 442.2 MB, free: 33.65 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001295/0.4069, allocations: 163.6 kB / 442.4 MB, free: 33.4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.496/1.903, allocations: 4 kB / 442.4 MB, free: 33.39 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)