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.0008133/0.0008133, allocations: 76.5 kB / 19.95 MB, free: 4.617 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.001511/0.001511, allocations: 169.2 kB / 23.23 MB, free: 1.336 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.9133/0.9133, allocations: 177.1 MB / 203.5 MB, free: 5.762 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.06209/0.06209, allocations: 18.13 MB / 278.1 MB, free: 11.55 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.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: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 415.9 MB, free: 12.31 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.317e-05, allocations: 4.297 kB / 415.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.dz): time 0.002111/0.002134, allocations: 1.883 MB / 417.7 MB, free: 11.08 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000428/0.002562, allocations: 217.9 kB / 418 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.664e-05/0.002659, allocations: 7.562 kB / 418 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.968e-05/0.002699, allocations: 18.62 kB / 418 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.002892, allocations: 44.3 kB / 418 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.003092, allocations: 102.5 kB / 418.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.003291, allocations: 178.6 kB / 418.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.003435, allocations: 55.55 kB / 418.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.869e-05/0.003504, allocations: 57.59 kB / 418.4 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.419e-05/0.003578, allocations: 50.88 kB / 418.5 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.00361, allocations: 18.41 kB / 418.5 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.838e-05/0.003628, allocations: 15.69 kB / 418.5 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.725e-05/0.003655, allocations: 39.03 kB / 418.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.922e-05/0.003694, allocations: 48.09 kB / 418.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.003883, allocations: 176.9 kB / 418.7 MB, free: 10.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.003885, allocations: 1.094 kB / 418.7 MB, free: 10.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.003887, allocations: 0 / 418.7 MB, free: 10.51 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.003892, allocations: 0 / 418.7 MB, free: 10.51 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0004526/0.004345, allocations: 406.8 kB / 419.1 MB, free: 10.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.004382, allocations: 11.17 kB / 419.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.23e-05/0.004414, allocations: 44.88 kB / 419.2 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.004454, allocations: 25.27 kB / 419.2 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.004689, allocations: 176.6 kB / 419.4 MB, free: 9.941 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.004705, allocations: 9.156 kB / 419.4 MB, free: 9.938 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.004728, allocations: 17 kB / 419.4 MB, free: 9.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.004993, allocations: 196.8 kB / 419.6 MB, free: 9.809 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.005001, allocations: 192 / 419.6 MB, free: 9.809 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.005016, allocations: 5.625 kB / 419.6 MB, free: 9.805 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.005022, allocations: 7.438 kB / 419.6 MB, free: 9.801 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.005211, allocations: 112.5 kB / 419.7 MB, free: 9.773 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005812/0.005792, allocations: 0.5031 MB / 420.2 MB, free: 9.387 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.006144, allocations: 170 kB / 420.4 MB, free: 9.328 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.31e-05/0.006227, allocations: 61.12 kB / 420.5 MB, free: 9.301 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.006248, allocations: 1.625 kB / 420.5 MB, free: 9.301 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.006263, allocations: 36.7 kB / 420.5 MB, free: 9.258 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.153e-06/0.006265, allocations: 1.156 kB / 420.5 MB, free: 9.258 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003448/0.006609, allocations: 201.4 kB / 420.7 MB, free: 9.176 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.006635, allocations: 78.42 kB / 420.8 MB, free: 9.082 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.693e-05/0.006732, allocations: 178.8 kB / 421 MB, free: 8.953 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.006743, allocations: 31.11 kB / 421 MB, free: 8.918 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.006792, allocations: 130.7 kB / 421.1 MB, free: 8.801 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.006817, allocations: 44.36 kB / 421.2 MB, free: 8.766 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.006857, allocations: 35.09 kB / 421.2 MB, free: 8.738 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.701e-05/0.006894, allocations: 323.8 kB / 421.5 MB, free: 8.422 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.319e-05/0.006987, allocations: 61.53 kB / 421.6 MB, free: 8.395 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.007088, allocations: 102 kB / 421.7 MB, free: 8.324 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005315/0.007619, allocations: 265.5 kB / 421.9 MB, free: 8.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.007622, allocations: 0.5625 kB / 421.9 MB, free: 8.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002231/0.007846, allocations: 181 kB / 422.1 MB, free: 8.148 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.007865, allocations: 5.719 kB / 422.1 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.007871, allocations: 4.688 kB / 422.1 MB, free: 8.145 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.007885, allocations: 1.812 kB / 422.1 MB, free: 8.145 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.007986, allocations: 38.58 kB / 422.2 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.007992, allocations: 4.234 kB / 422.2 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.623e-05/0.008048, allocations: 20.2 kB / 422.2 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.008058, allocations: 3.672 kB / 422.2 MB, free: 8.133 MB / 330.7 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.0001618/0.008219, allocations: 142.3 kB / 422.3 MB, free: 8.027 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.654e-05/0.008296, allocations: 95.84 kB / 422.4 MB, free: 7.953 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003813/0.008677, allocations: 224 kB / 422.6 MB, free: 7.875 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.32e-07/0.008678, allocations: 0 / 422.6 MB, free: 7.875 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0001821/0.00886, allocations: 162.3 kB / 422.8 MB, free: 7.793 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/0.008868, allocations: 4.688 kB / 422.8 MB, free: 7.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-06/0.00887, allocations: 1.797 kB / 422.8 MB, free: 7.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-06/0.008874, allocations: 5.094 kB / 422.8 MB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.751e-05/0.008951, allocations: 33.03 kB / 422.8 MB, free: 7.785 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.008954, allocations: 2.578 kB / 422.8 MB, free: 7.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.588e-05/0.009, allocations: 12.77 kB / 422.8 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.009007, allocations: 3.188 kB / 422.8 MB, free: 7.781 MB / 330.7 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 6.564e-05/0.009072, allocations: 203 kB / 423 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.009093, allocations: 15.25 kB / 423.1 MB, free: 7.578 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.009355, allocations: 166.1 kB / 423.2 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.009358, allocations: 1.188 kB / 423.2 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.009363, allocations: 6.031 kB / 423.2 MB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.009367, allocations: 0.75 kB / 423.2 MB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.00953, allocations: 209.4 kB / 423.4 MB, free: 7.309 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.009531, allocations: 0 / 423.4 MB, free: 7.309 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.009633, allocations: 32.59 kB / 423.5 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.009636, allocations: 5.297 kB / 423.5 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.009647, allocations: 5.938 kB / 423.5 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.009649, allocations: 0 / 423.5 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.00965, allocations: 3.938 kB / 423.5 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003336/0.009984, allocations: 316.7 kB / 423.8 MB, free: 7.102 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.01, allocations: 17.12 kB / 423.8 MB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.01002, allocations: 6.703 kB / 423.8 MB, free: 7.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.494e-05/0.01008, allocations: 10.56 kB / 423.8 MB, free: 7.086 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.01012, allocations: 14.59 kB / 423.8 MB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.01013, allocations: 3.188 kB / 423.8 MB, free: 7.078 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.749e-05/0.01018, allocations: 122.5 kB / 424 MB, free: 6.992 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01018, allocations: 4 kB / 424 MB, free: 6.988 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002174/0.0104, allocations: 59.14 kB / 424 MB, free: 6.969 MB / 330.7 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.000412/0.01081, allocations: 0.8424 MB / 424.9 MB, free: 6.246 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.01113, allocations: 193 kB / 425.1 MB, free: 6.188 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.01113, allocations: 0 / 425.1 MB, free: 6.188 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.976e-05/0.01122, allocations: 63.06 kB / 425.1 MB, free: 6.172 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.01146, allocations: 37.62 kB / 425.2 MB, free: 6.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.01313, allocations: 2.054 MB / 427.2 MB, free: 4.656 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.406e-05/0.01321, allocations: 115.9 kB / 427.3 MB, free: 4.578 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.287e-05/0.01329, allocations: 12.73 kB / 427.3 MB, free: 4.578 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.702e-05/0.01335, allocations: 51.73 kB / 427.4 MB, free: 4.539 MB / 330.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01335, allocations: 4 kB / 427.4 MB, free: 4.535 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.03317, allocations: 4.409 MB / 431.8 MB, free: 3.441 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.826/6.859, allocations: 8.859 kB / 431.8 MB, free: 3.434 MB / 330.7 MB " [Timeout remaining time 653] (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: 8.897461516782641] Failed to read output from testmodel.py, exit status != 0: 6.944051654078066 6.953219988 6.947415154 Calling exit ...