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.00441/0.00441, allocations: 102.7 kB / 15.74 MB, free: 6.5 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.001278/0.001278, allocations: 195.9 kB / 16.68 MB, free: 6.375 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1978/0.1978, allocations: 22.35 MB / 312.9 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 75.94 kB / 436.6 MB, free: 34.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07649/0.07841, allocations: 54.95 MB / 491.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.00151/0.07995, allocations: 0.701 MB / 492.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001407/0.08011, allocations: 27.91 kB / 492.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.107e-05/0.08015, allocations: 0 / 492.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.513e-05/0.08019, allocations: 0 / 492.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.59e-05/0.08025, allocations: 3.938 kB / 492.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.365e-05/0.08032, allocations: 8 kB / 492.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.022e-05/0.08037, allocations: 15.98 kB / 492.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.851e-05/0.08046, allocations: 8 kB / 492.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.962e-05/0.08048, allocations: 15.91 kB / 492.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.705e-05/0.08054, allocations: 11.94 kB / 492.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.08057, allocations: 4 kB / 492.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.656e-06/0.08058, allocations: 0 / 492.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.0806, allocations: 11.92 kB / 492.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.08063, allocations: 4 kB / 492.4 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.904e-05/0.08069, allocations: 20.19 kB / 492.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.0807, allocations: 0 / 492.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.0807, allocations: 0 / 492.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.08071, allocations: 4 kB / 492.4 MB, free: 0.8867 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.000276/0.08099, allocations: 335.4 kB / 492.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.08103, allocations: 8.031 kB / 492.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.17e-05/0.08106, allocations: 30.75 kB / 492.7 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.069e-05/0.08108, allocations: 8.891 kB / 492.8 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.09e-05/0.08116, allocations: 160.4 kB / 492.9 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.08118, allocations: 8.312 kB / 492.9 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-06/0.08119, allocations: 8.312 kB / 492.9 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.965e-05/0.08126, allocations: 38.25 kB / 493 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.08128, allocations: 7.875 kB / 493 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.08129, allocations: 4 kB / 493 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.0813, allocations: 4 kB / 493 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.174e-05/0.08134, allocations: 15.98 kB / 493 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/0.08163, allocations: 249 kB / 493.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.08175, allocations: 42.45 kB / 493.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.403e-05/0.08179, allocations: 20.89 kB / 493.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.08182, allocations: 4 kB / 493.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.08185, allocations: 34.56 kB / 493.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.08186, allocations: 0 / 493.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001569/0.08202, allocations: 49.69 kB / 493.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.08207, allocations: 55.34 kB / 493.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.537e-05/0.08215, allocations: 97.86 kB / 493.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.08217, allocations: 29.7 kB / 493.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/0.08222, allocations: 92.08 kB / 493.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.08225, allocations: 7.953 kB / 493.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.08228, allocations: 13.72 kB / 493.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.08242, allocations: 314.8 kB / 494 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.851e-05/0.08244, allocations: 7.984 kB / 494 MB, free: 15.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.308e-05/0.08246, allocations: 4 kB / 494 MB, free: 15.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.096e-05/0.08251, allocations: 20.86 kB / 494 MB, free: 15.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.08252, allocations: 3.938 kB / 494 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.625e-05/0.0826, allocations: 45.69 kB / 494.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.08262, allocations: 12 kB / 494.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.08263, allocations: 3.938 kB / 494.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.08264, allocations: 0 / 494.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.603e-05/0.0827, allocations: 4 kB / 494.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.08272, allocations: 3.984 kB / 494.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.404e-05/0.08275, allocations: 0 / 494.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.08276, allocations: 4 kB / 494.1 MB, free: 14.94 MB / 366.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 7.973e-05/0.08284, allocations: 122.5 kB / 494.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.08287, allocations: 3.953 kB / 494.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.08304, allocations: 77.17 kB / 494.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.08305, allocations: 0 / 494.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.08306, allocations: 0 / 494.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.08306, allocations: 0 / 494.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.08325, allocations: 173.5 kB / 494.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.08326, allocations: 0 / 494.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.619e-05/0.08331, allocations: 11.94 kB / 494.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.08332, allocations: 3.938 kB / 494.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.08333, allocations: 4 kB / 494.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.08334, allocations: 0 / 494.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.08334, allocations: 0 / 494.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.08349, allocations: 159.5 kB / 494.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.08355, allocations: 81.06 kB / 494.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.08357, allocations: 7.984 kB / 494.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.903e-05/0.08363, allocations: 4.516 kB / 494.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/0.08365, allocations: 4 kB / 494.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.08366, allocations: 4 kB / 494.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.955e-05/0.08372, allocations: 83.27 kB / 494.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.08373, allocations: 0 / 494.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.08396, allocations: 8 kB / 494.8 MB, free: 14.1 MB / 366.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.0004343/0.0844, allocations: 0.6889 MB / 495.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.58e-05/0.0845, allocations: 24 kB / 495.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.08451, allocations: 0 / 495.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.242e-05/0.08455, allocations: 19.92 kB / 495.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.08482, allocations: 10.52 kB / 495.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.08586, allocations: 1.178 MB / 496.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.08617, allocations: 0.6807 MB / 497.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.907e-05/0.08621, allocations: 8 kB / 497.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.08624, allocations: 7.438 kB / 497.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.08625, allocations: 4 kB / 497.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1924/0.2787, allocations: 1.262 MB / 498.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.004/8.283, allocations: 11.8 kB / 498.7 MB, free: 10.13 MB / 366.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)