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.001046/0.001046, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.3/1.3, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1811/0.1811, allocations: 22.35 MB / 312.7 MB, free: 12.54 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 59.91 kB / 380.9 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2013, allocations: 54.95 MB / 435.9 MB, free: 39.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.001403/0.2028, allocations: 0.7023 MB / 436.6 MB, free: 39.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001264/0.2029, allocations: 24.09 kB / 436.6 MB, free: 39.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.2029, allocations: 0 / 436.6 MB, free: 39.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.909e-05/0.203, allocations: 4 kB / 436.6 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.762e-05/0.203, allocations: 3.984 kB / 436.6 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.839e-05/0.2031, allocations: 10.12 kB / 436.6 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.247e-05/0.2031, allocations: 19.73 kB / 436.6 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.52e-05/0.2032, allocations: 2.812 kB / 436.6 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.842e-05/0.2032, allocations: 10.94 kB / 436.7 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.122e-05/0.2033, allocations: 13.19 kB / 436.7 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.2033, allocations: 0 / 436.7 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.398e-06/0.2033, allocations: 2.906 kB / 436.7 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.2033, allocations: 19.39 kB / 436.7 MB, free: 39.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.2034, allocations: 11.59 kB / 436.7 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.97e-05/0.2034, allocations: 14.69 kB / 436.7 MB, free: 39.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2034, allocations: 4 kB / 436.7 MB, free: 39.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2034, allocations: 3.938 kB / 436.7 MB, free: 39.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.2035, allocations: 0 / 436.7 MB, free: 39.15 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.0002536/0.2037, allocations: 319.8 kB / 437 MB, free: 38.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.747e-05/0.2037, allocations: 10.03 kB / 437 MB, free: 38.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.808e-05/0.2038, allocations: 34.75 kB / 437.1 MB, free: 38.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.96e-05/0.2038, allocations: 11.84 kB / 437.1 MB, free: 38.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.051e-05/0.2039, allocations: 167.6 kB / 437.3 MB, free: 38.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.2039, allocations: 2.844 kB / 437.3 MB, free: 38.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.2039, allocations: 384 / 437.3 MB, free: 38.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.03e-05/0.204, allocations: 41.47 kB / 437.3 MB, free: 38.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.204, allocations: 3.938 kB / 437.3 MB, free: 38.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.204, allocations: 0 / 437.3 MB, free: 38.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.204, allocations: 0 / 437.3 MB, free: 38.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.499e-05/0.204, allocations: 19.67 kB / 437.3 MB, free: 38.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002112/0.2042, allocations: 262 kB / 437.6 MB, free: 38.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.063e-05/0.2043, allocations: 39.16 kB / 437.6 MB, free: 38.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.216e-05/0.2044, allocations: 15.73 kB / 437.6 MB, free: 38.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.2044, allocations: 0 / 437.6 MB, free: 38.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.907e-06/0.2044, allocations: 33.84 kB / 437.7 MB, free: 38.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.2044, allocations: 4 kB / 437.7 MB, free: 38.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001201/0.2045, allocations: 60.48 kB / 437.7 MB, free: 38.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.457e-05/0.2045, allocations: 51.41 kB / 437.8 MB, free: 38.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.786e-05/0.2046, allocations: 103.4 kB / 437.9 MB, free: 37.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.36e-06/0.2046, allocations: 25.7 kB / 437.9 MB, free: 37.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.736e-05/0.2046, allocations: 86.06 kB / 438 MB, free: 37.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.21e-05/0.2046, allocations: 3.906 kB / 438 MB, free: 37.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/0.2047, allocations: 18.72 kB / 438 MB, free: 37.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.056e-05/0.2047, allocations: 318.3 kB / 438.3 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.2047, allocations: 6.281 kB / 438.3 MB, free: 37.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.023e-05/0.2047, allocations: 5.344 kB / 438.3 MB, free: 37.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.82e-05/0.2048, allocations: 23.83 kB / 438.4 MB, free: 37.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.2048, allocations: 3.938 kB / 438.4 MB, free: 37.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.403e-05/0.2048, allocations: 48.52 kB / 438.4 MB, free: 37.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/0.2048, allocations: 7.438 kB / 438.4 MB, free: 37.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-06/0.2048, allocations: 0 / 438.4 MB, free: 37.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.2049, allocations: 0 / 438.4 MB, free: 37.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.933e-05/0.2049, allocations: 5.688 kB / 438.4 MB, free: 37.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.2049, allocations: 4 kB / 438.4 MB, free: 37.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.09e-05/0.2049, allocations: 3.938 kB / 438.4 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.205, allocations: 0 / 438.4 MB, free: 37.39 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.205, allocations: 120.9 kB / 438.5 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.205, allocations: 3.906 kB / 438.5 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.2051, allocations: 81.8 kB / 438.6 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.2051, allocations: 0 / 438.6 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2052, allocations: 2.438 kB / 438.6 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2052, allocations: 0 / 438.6 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.371e-05/0.2053, allocations: 167.7 kB / 438.8 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.2053, allocations: 0 / 438.8 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.661e-05/0.2053, allocations: 7.156 kB / 438.8 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2053, allocations: 3.422 kB / 438.8 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.2053, allocations: 4.062 kB / 438.8 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2053, allocations: 3.062 kB / 438.8 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2053, allocations: 0 / 438.8 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.095e-05/0.2054, allocations: 161.9 kB / 439 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.353e-05/0.2054, allocations: 84.95 kB / 439.1 MB, free: 36.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.2054, allocations: 0 / 439.1 MB, free: 36.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.98e-05/0.2055, allocations: 2.969 kB / 439.1 MB, free: 36.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.385e-05/0.2055, allocations: 3.141 kB / 439.1 MB, free: 36.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.2055, allocations: 3.281 kB / 439.1 MB, free: 36.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.84e-05/0.2055, allocations: 82.72 kB / 439.1 MB, free: 36.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2055, allocations: 4 kB / 439.1 MB, free: 36.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001909/0.2057, allocations: 3.156 kB / 439.1 MB, free: 36.67 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.0001811/0.2059, allocations: 0.6877 MB / 439.8 MB, free: 35.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.067e-05/0.206, allocations: 23.39 kB / 439.9 MB, free: 35.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.206, allocations: 0 / 439.9 MB, free: 35.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.852e-05/0.206, allocations: 18.62 kB / 439.9 MB, free: 35.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.2063, allocations: 6.391 kB / 439.9 MB, free: 35.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005627/0.2068, allocations: 1.182 MB / 441.1 MB, free: 34.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.726e-05/0.2069, allocations: 0.6814 MB / 441.7 MB, free: 34.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.507e-05/0.207, allocations: 3.031 kB / 441.7 MB, free: 34.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.03e-05/0.207, allocations: 17.61 kB / 441.8 MB, free: 34.09 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.207, allocations: 4 kB / 441.8 MB, free: 34.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4852/0.6922, allocations: 1.239 MB / 443 MB, free: 33.74 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.28/9.972, allocations: 4.562 kB / 443 MB, free: 33.73 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)