Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.dz.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.001613/0.001613, allocations: 109.1 kB / 17.14 MB, free: 5.93 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.001506/0.001506, allocations: 204 kB / 20.11 MB, free: 2.977 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.5/1.5, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.1045/0.1045, allocations: 24.03 MB / 333.6 MB, free: 1.559 MB / 254.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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: "" <> buildModelFMU(AES.Devel_test_models.dz,fileNamePrefix="AES_AES_Devel_test_models_dz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.dz,fileNamePrefix="AES_AES_Devel_test_models_dz",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.00208/0.00208, allocations: 74.27 kB / 469.1 MB, free: 31.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1087, allocations: 59.55 MB / 0.5163 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.dz): time 0.003866/0.1125, allocations: 1.951 MB / 0.5182 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006289/0.1132, allocations: 227.2 kB / 0.5184 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.1133, allocations: 4 kB / 0.5184 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.863e-05/0.1134, allocations: 19.73 kB / 0.5184 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.1137, allocations: 31.72 kB / 0.5184 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.114, allocations: 106.8 kB / 0.5185 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003156/0.1143, allocations: 175.6 kB / 0.5187 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.1145, allocations: 58.89 kB / 0.5188 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.1146, allocations: 71.72 kB / 0.5188 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.1147, allocations: 67.62 kB / 0.5189 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.1148, allocations: 16 kB / 0.5189 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.889e-05/0.1148, allocations: 16 kB / 0.5189 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.312e-05/0.1148, allocations: 39.84 kB / 0.519 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.63e-05/0.1149, allocations: 75.53 kB / 0.519 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.1152, allocations: 171.2 kB / 0.5192 GB, free: 8.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1152, allocations: 0 / 0.5192 GB, free: 8.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1152, allocations: 0 / 0.5192 GB, free: 8.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1152, allocations: 0 / 0.5192 GB, free: 8.543 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007231/0.1159, allocations: 490.5 kB / 0.5197 GB, free: 8.012 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1159, allocations: 12.62 kB / 0.5197 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.287e-05/0.116, allocations: 46.73 kB / 0.5197 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.486e-05/0.116, allocations: 20.84 kB / 0.5198 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.1164, allocations: 244.8 kB / 0.52 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.1164, allocations: 16.31 kB / 0.52 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.1164, allocations: 12.38 kB / 0.52 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003697/0.1168, allocations: 165.4 kB / 0.5202 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1168, allocations: 3.938 kB / 0.5202 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.1168, allocations: 8 kB / 0.5202 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.1169, allocations: 7.938 kB / 0.5202 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003345/0.1172, allocations: 115.9 kB / 0.5203 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009665/0.1182, allocations: 0.5579 MB / 0.5208 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006025/0.1188, allocations: 174.5 kB / 0.521 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.1189, allocations: 60.84 kB / 0.5211 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.1189, allocations: 11.94 kB / 0.5211 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.119, allocations: 34.56 kB / 0.5211 GB, free: 6.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.163e-06/0.119, allocations: 0 / 0.5211 GB, free: 6.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006117/0.1196, allocations: 193.5 kB / 0.5213 GB, free: 6.211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.1196, allocations: 81.05 kB / 0.5214 GB, free: 6.113 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.1198, allocations: 170.7 kB / 0.5215 GB, free: 5.938 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.1198, allocations: 33.7 kB / 0.5216 GB, free: 5.898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.12, allocations: 127.9 kB / 0.5217 GB, free: 5.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.12, allocations: 43.67 kB / 0.5217 GB, free: 5.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.477e-05/0.1201, allocations: 33.66 kB / 0.5218 GB, free: 5.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1202, allocations: 326.8 kB / 0.5221 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.1204, allocations: 64.81 kB / 0.5221 GB, free: 5.289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.1206, allocations: 74.55 kB / 0.5222 GB, free: 5.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009739/0.1216, allocations: 251.7 kB / 0.5225 GB, free: 4.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1216, allocations: 3.938 kB / 0.5225 GB, free: 4.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000434/0.122, allocations: 185.4 kB / 0.5226 GB, free: 4.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.122, allocations: 4 kB / 0.5226 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.122, allocations: 4 kB / 0.5226 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.122, allocations: 0 / 0.5226 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.1222, allocations: 39.91 kB / 0.5227 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1222, allocations: 0 / 0.5227 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.1224, allocations: 19.92 kB / 0.5227 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.1224, allocations: 8.031 kB / 0.5227 GB, free: 4.691 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: Aplus.y:VARIABLE(flow=false start = Aplus.y_start fixed = true ) \"Connector of Real output signal\" type: Real Aminus.y:VARIABLE(flow=false start = Aminus.y_start fixed = true ) \"Connector of Real output signal\" type: Real P.y:VARIABLE(flow=false start = P.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002652/0.1226, allocations: 144.5 kB / 0.5228 GB, free: 4.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001304/0.1228, allocations: 64.23 kB / 0.5229 GB, free: 4.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007374/0.1235, allocations: 227.5 kB / 0.5231 GB, free: 4.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.02e-07/0.1235, allocations: 0 / 0.5231 GB, free: 4.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0003304/0.1238, allocations: 161.4 kB / 0.5233 GB, free: 4.086 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1239, allocations: 7.938 kB / 0.5233 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-06/0.1239, allocations: 0 / 0.5233 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-06/0.1239, allocations: 4 kB / 0.5233 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.124, allocations: 35.91 kB / 0.5233 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-06/0.124, allocations: 0 / 0.5233 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.655e-05/0.1241, allocations: 12 kB / 0.5233 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.1241, allocations: 0 / 0.5233 GB, free: 4.027 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: Aplus.y:VARIABLE(flow=false start = Aplus.y_start fixed = true ) \"Connector of Real output signal\" type: Real Aminus.y:VARIABLE(flow=false start = Aminus.y_start fixed = true ) \"Connector of Real output signal\" type: Real P.y:VARIABLE(flow=false start = P.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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 0.0001551/0.1243, allocations: 208.6 kB / 0.5235 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.1243, allocations: 15.84 kB / 0.5235 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004536/0.1248, allocations: 166.9 kB / 0.5237 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1248, allocations: 0 / 0.5237 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1248, allocations: 7.984 kB / 0.5237 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1248, allocations: 0 / 0.5237 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/0.1251, allocations: 249.5 kB / 0.524 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.1251, allocations: 7.922 kB / 0.524 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.1253, allocations: 23.98 kB / 0.524 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.1253, allocations: 4 kB / 0.524 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.1254, allocations: 4 kB / 0.524 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1254, allocations: 0 / 0.524 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1254, allocations: 7.922 kB / 0.524 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006422/0.126, allocations: 317.3 kB / 0.5243 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.806e-05/0.1261, allocations: 92.95 kB / 0.5244 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.1261, allocations: 4 kB / 0.5244 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.1262, allocations: 12.03 kB / 0.5244 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.1263, allocations: 11.98 kB / 0.5244 GB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.1263, allocations: 0 / 0.5244 GB, free: 2.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.1264, allocations: 132.3 kB / 0.5245 GB, free: 2.691 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1264, allocations: 0 / 0.5245 GB, free: 2.691 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003394/0.1267, allocations: 51.83 kB / 0.5246 GB, free: 2.641 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (C.FO.y,Aplus.y,Aminus.y,P.y) * 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 (11): * Single equations (assignments): 11 * 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.0009729/0.1277, allocations: 0.8528 MB / 0.5254 GB, free: 1.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005357/0.1283, allocations: 183.8 kB / 0.5256 GB, free: 1.582 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1283, allocations: 4.125 kB / 0.5256 GB, free: 1.578 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.1284, allocations: 63.95 kB / 0.5257 GB, free: 1.516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.1288, allocations: 43.16 kB / 0.5257 GB, free: 1.477 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/0.1318, allocations: 2.052 MB / 0.5277 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.1322, allocations: 0.728 MB / 0.5284 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.809e-05/0.1323, allocations: 28.58 kB / 0.5284 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.856e-05/0.1324, allocations: 43.42 kB / 0.5285 GB, free: 14.52 MB / 398.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1324, allocations: 4 kB / 0.5285 GB, free: 14.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.1607, allocations: 3.616 MB / 0.532 GB, free: 10.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.087/8.248, allocations: 4.062 kB / 0.532 GB, free: 10.96 MB / 398.1 MB " [Timeout remaining time 652] (rm -f AES_AES.Devel_test_models.dz.pipe ; mkfifo AES_AES.Devel_test_models.dz.pipe ; head -c 1048576 < AES_AES.Devel_test_models.dz.pipe >> ../files/AES_AES.Devel_test_models.dz.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.dz_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 AES_AES_Devel_test_models_dz.fmu > AES_AES.Devel_test_models.dz.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.142591312061995] Failed to read output from testmodel.py, exit status != 0: 8.317703675013036 8.332754628 8.214560856 Calling exit ...