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.001736/0.001736, allocations: 108.3 kB / 19.73 MB, free: 1.898 MB / 14.72 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.002049/0.002049, allocations: 209.2 kB / 23.01 MB, free: 4.992 MB / 14.72 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 1.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.1058/0.1058, allocations: 24.03 MB / 337.2 MB, free: 11.34 MB / 270.1 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00335/0.00335, allocations: 66.09 kB / 473.8 MB, free: 6.41 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3608, allocations: 59.57 MB / 0.5209 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.001972/0.3628, allocations: 0.7176 MB / 0.5216 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001806/0.3629, allocations: 23.31 kB / 0.5216 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.702e-05/0.363, allocations: 1.312 kB / 0.5216 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.363, allocations: 0 / 0.5216 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.48e-05/0.3631, allocations: 5.016 kB / 0.5216 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.389e-05/0.3632, allocations: 8.516 kB / 0.5216 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.008e-05/0.3632, allocations: 14.89 kB / 0.5217 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.3633, allocations: 7.422 kB / 0.5217 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.38e-05/0.3634, allocations: 12.67 kB / 0.5217 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.109e-05/0.3635, allocations: 15.66 kB / 0.5217 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.3635, allocations: 4.906 kB / 0.5217 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/0.3635, allocations: 2.375 kB / 0.5217 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.3635, allocations: 6.188 kB / 0.5217 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.3635, allocations: 7 kB / 0.5217 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.018e-05/0.3636, allocations: 19.69 kB / 0.5217 GB, free: 9.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3636, allocations: 4 kB / 0.5217 GB, free: 9.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3636, allocations: 0 / 0.5217 GB, free: 9.645 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3636, allocations: 1.094 kB / 0.5217 GB, free: 9.645 MB / 382.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.0003428/0.364, allocations: 253.7 kB / 0.522 GB, free: 9.383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.364, allocations: 14.47 kB / 0.522 GB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.805e-05/0.364, allocations: 32.39 kB / 0.522 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.354e-05/0.3641, allocations: 1.938 kB / 0.522 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.258e-05/0.3641, allocations: 114.9 kB / 0.5221 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3642, allocations: 1.531 kB / 0.5221 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-06/0.3642, allocations: 2.125 kB / 0.5221 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.246e-05/0.3643, allocations: 44.86 kB / 0.5222 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.3643, allocations: 7.922 kB / 0.5222 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.3643, allocations: 5.812 kB / 0.5222 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3643, allocations: 0 / 0.5222 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.755e-05/0.3643, allocations: 9.859 kB / 0.5222 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.3646, allocations: 227.7 kB / 0.5224 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.3647, allocations: 40.36 kB / 0.5225 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.896e-05/0.3648, allocations: 15.83 kB / 0.5225 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.3648, allocations: 1.734 kB / 0.5225 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.3648, allocations: 32.34 kB / 0.5225 GB, free: 8.828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3648, allocations: 0 / 0.5225 GB, free: 8.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001778/0.365, allocations: 52.47 kB / 0.5226 GB, free: 8.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.365, allocations: 53.19 kB / 0.5226 GB, free: 8.727 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.195e-05/0.3651, allocations: 104.2 kB / 0.5227 GB, free: 8.621 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.3651, allocations: 30.69 kB / 0.5227 GB, free: 8.586 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.014e-05/0.3651, allocations: 81.2 kB / 0.5228 GB, free: 8.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.3651, allocations: 10.91 kB / 0.5228 GB, free: 8.496 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.3651, allocations: 22.64 kB / 0.5228 GB, free: 8.473 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.934e-05/0.3652, allocations: 312.7 kB / 0.5231 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.972e-05/0.3652, allocations: 11.73 kB / 0.5232 GB, free: 8.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.308e-05/0.3652, allocations: 5.188 kB / 0.5232 GB, free: 8.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.831e-05/0.3653, allocations: 18.39 kB / 0.5232 GB, free: 8.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3653, allocations: 5.062 kB / 0.5232 GB, free: 8.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.308e-05/0.3653, allocations: 53.78 kB / 0.5232 GB, free: 8.094 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3654, allocations: 8.344 kB / 0.5232 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3654, allocations: 1.031 kB / 0.5232 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3654, allocations: 1.125 kB / 0.5232 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.287e-05/0.3654, allocations: 8.406 kB / 0.5232 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3654, allocations: 1.938 kB / 0.5232 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.263e-05/0.3655, allocations: 0 / 0.5232 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.3655, allocations: 2.078 kB / 0.5233 GB, free: 8.086 MB / 382.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 4.901e-05/0.3655, allocations: 112.5 kB / 0.5234 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.3655, allocations: 1.875 kB / 0.5234 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.3657, allocations: 78.47 kB / 0.5234 GB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3657, allocations: 0.5156 kB / 0.5234 GB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3657, allocations: 1.375 kB / 0.5234 GB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3657, allocations: 0.6562 kB / 0.5234 GB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.3658, allocations: 135.8 kB / 0.5236 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3658, allocations: 0 / 0.5236 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/0.3659, allocations: 12.33 kB / 0.5236 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3659, allocations: 1.938 kB / 0.5236 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.3659, allocations: 3.984 kB / 0.5236 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3659, allocations: 5.891 kB / 0.5236 GB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3659, allocations: 0 / 0.5236 GB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.366, allocations: 160.4 kB / 0.5237 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-06/0.366, allocations: 2.109 kB / 0.5237 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.366, allocations: 2.359 kB / 0.5237 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.371e-05/0.3661, allocations: 4 kB / 0.5238 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.639e-05/0.3661, allocations: 3.344 kB / 0.5238 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.3661, allocations: 5.188 kB / 0.5238 GB, free: 7.582 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.635e-05/0.3661, allocations: 84.77 kB / 0.5238 GB, free: 7.504 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3661, allocations: 0 / 0.5238 GB, free: 7.504 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002087/0.3663, allocations: 3.5 kB / 0.5238 GB, free: 7.504 MB / 382.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.0002835/0.3666, allocations: 0.6907 MB / 0.5245 GB, free: 6.824 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.527e-05/0.3667, allocations: 19.56 kB / 0.5245 GB, free: 6.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3667, allocations: 0 / 0.5245 GB, free: 6.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.587e-05/0.3667, allocations: 17.44 kB / 0.5246 GB, free: 6.812 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.367, allocations: 13.47 kB / 0.5246 GB, free: 6.805 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008193/0.3679, allocations: 1.187 MB / 0.5257 GB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.997e-05/0.3679, allocations: 65.31 kB / 0.5258 GB, free: 5.551 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.226e-05/0.3679, allocations: 8.719 kB / 0.5258 GB, free: 5.547 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.368, allocations: 15.25 kB / 0.5258 GB, free: 5.535 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.368, allocations: 0 / 0.5258 GB, free: 5.535 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.3945, allocations: 1.811 MB / 0.5276 GB, free: 4.734 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.41, allocations: 6.172 kB / 0.5276 GB, free: 4.734 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.28268098179251] Failed to read output from testmodel.py, exit status != 0: 11.520660665817559 11.542563326 11.174803168 Calling exit ...