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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 72.52 kB / 19.95 MB, free: 4.613 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 169.2 kB / 23.23 MB, free: 1.332 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9289/0.9289, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.06192/0.06192, allocations: 18.12 MB / 278.1 MB, free: 11.53 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 415.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.175e-05, allocations: 2.984 kB / 415.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.001607/0.001629, allocations: 0.7183 MB / 415.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000194/0.001823, allocations: 24.48 kB / 415.8 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.457e-05/0.001858, allocations: 0 / 415.8 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.743e-05/0.001885, allocations: 3.938 kB / 415.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 7.268e-05/0.001958, allocations: 4.641 kB / 415.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.53e-05/0.002043, allocations: 12.34 kB / 415.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 7.151e-05/0.002114, allocations: 15.22 kB / 415.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.002222, allocations: 7.406 kB / 415.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.275e-05/0.002245, allocations: 14.5 kB / 415.9 MB, free: 12.28 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.282e-05/0.002318, allocations: 6.547 kB / 415.9 MB, free: 12.28 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.002341, allocations: 2.156 kB / 415.9 MB, free: 12.28 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.00235, allocations: 1.312 kB / 415.9 MB, free: 12.28 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.002366, allocations: 7 kB / 415.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.002389, allocations: 6.734 kB / 415.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 7.872e-05/0.002467, allocations: 22.72 kB / 415.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.002471, allocations: 4.609 kB / 415.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.002472, allocations: 1.75 kB / 415.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.002478, allocations: 0 / 415.9 MB, free: 12.25 MB / 330.7 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.0003164/0.002794, allocations: 256 kB / 416.2 MB, free: 11.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.002838, allocations: 9.203 kB / 416.2 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.599e-05/0.002864, allocations: 33.75 kB / 416.2 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.304e-05/0.002887, allocations: 6.344 kB / 416.2 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.673e-05/0.002964, allocations: 105.8 kB / 416.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.002974, allocations: 5.688 kB / 416.3 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.002983, allocations: 2.922 kB / 416.3 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.267e-05/0.003066, allocations: 45.5 kB / 416.4 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.003073, allocations: 192 / 416.4 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.003082, allocations: 384 / 416.4 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.003088, allocations: 5.875 kB / 416.4 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.168e-05/0.00313, allocations: 21.09 kB / 416.4 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002634/0.003393, allocations: 219.5 kB / 416.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.917e-05/0.003482, allocations: 37.23 kB / 416.6 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.616e-05/0.003509, allocations: 10.73 kB / 416.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.003531, allocations: 1.344 kB / 416.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/0.003548, allocations: 41.77 kB / 416.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.003549, allocations: 7.938 kB / 416.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001535/0.003702, allocations: 53.22 kB / 416.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.003724, allocations: 52.06 kB / 416.8 MB, free: 11.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.633e-05/0.00377, allocations: 101.2 kB / 416.9 MB, free: 11.22 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.801e-06/0.003776, allocations: 27.08 kB / 416.9 MB, free: 11.19 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.319e-05/0.003799, allocations: 84.66 kB / 417 MB, free: 11.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.003816, allocations: 6.094 kB / 417 MB, free: 11.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.003841, allocations: 15.03 kB / 417 MB, free: 11.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.79e-05/0.003869, allocations: 317.5 kB / 417.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.003882, allocations: 4.203 kB / 417.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.154e-05/0.003894, allocations: 11.83 kB / 417.4 MB, free: 10.76 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.203e-05/0.003926, allocations: 22.86 kB / 417.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.003928, allocations: 0 / 417.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.981e-05/0.003978, allocations: 53.95 kB / 417.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.003991, allocations: 5.969 kB / 417.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.003997, allocations: 2.656 kB / 417.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.00401, allocations: 1.25 kB / 417.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.439e-05/0.004075, allocations: 7.469 kB / 417.5 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.00408, allocations: 0 / 417.5 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.654e-05/0.004096, allocations: 1.219 kB / 417.5 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-06/0.004103, allocations: 2.188 kB / 417.5 MB, free: 10.7 MB / 330.7 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 4.376e-05/0.004147, allocations: 115.6 kB / 417.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.004158, allocations: 6.062 kB / 417.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.004283, allocations: 77.62 kB / 417.7 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.004287, allocations: 2.031 kB / 417.7 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.004292, allocations: 0 / 417.7 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.004296, allocations: 0.75 kB / 417.7 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.871e-05/0.004385, allocations: 131.9 kB / 417.8 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.004387, allocations: 5.578 kB / 417.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.62e-05/0.004413, allocations: 8.281 kB / 417.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.004417, allocations: 9.25 kB / 417.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.004424, allocations: 4.453 kB / 417.8 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.004426, allocations: 2.641 kB / 417.8 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.004427, allocations: 0 / 417.8 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.444e-05/0.004501, allocations: 164 kB / 418 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.004515, allocations: 5.312 kB / 418 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.004529, allocations: 2.219 kB / 418 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.801e-05/0.004557, allocations: 0 / 418 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.004576, allocations: 7.375 kB / 418 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-06/0.00458, allocations: 9.375 kB / 418 MB, free: 10.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.747e-05/0.004597, allocations: 81.09 kB / 418.1 MB, free: 10.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004597, allocations: 0 / 418.1 MB, free: 10.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001384/0.004736, allocations: 4.125 kB / 418.1 MB, free: 10.11 MB / 330.7 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.0001722/0.004908, allocations: 0.6865 MB / 418.8 MB, free: 9.434 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.969e-05/0.004988, allocations: 21.97 kB / 418.8 MB, free: 9.426 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.004989, allocations: 0 / 418.8 MB, free: 9.426 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-05/0.005004, allocations: 11.83 kB / 418.8 MB, free: 9.426 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.005264, allocations: 9.844 kB / 418.8 MB, free: 9.422 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006001/0.005864, allocations: 1.189 MB / 420 MB, free: 8.238 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.676e-05/0.0059, allocations: 67.2 kB / 420.1 MB, free: 8.164 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.399e-05/0.005924, allocations: 3.969 kB / 420.1 MB, free: 8.164 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.005962, allocations: 12.05 kB / 420.1 MB, free: 8.156 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.005962, allocations: 0 / 420.1 MB, free: 8.156 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.02725, allocations: 1.935 MB / 422 MB, free: 7.266 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.684/6.712, allocations: 4.906 kB / 422 MB, free: 7.262 MB / 330.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_SR01_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 AES_AES_Devel_test_models_Test_SR01.fmu > AES_AES.Devel_test_models.Test_SR01.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.763811922632158] Failed to read output from testmodel.py, exit status != 0: 6.792217213660479 6.804385623 6.798772481 Calling exit ...