Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HP_001.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.001111/0.001111, allocations: 76.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.0008786/0.0008786, allocations: 173.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.8838/0.8838, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.06587/0.06587, allocations: 18.12 MB / 278.1 MB, free: 11.54 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_HP_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_HP_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 415.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.979e-05, allocations: 2.281 kB / 415.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001): time 0.001828/0.001847, allocations: 1.685 MB / 416.8 MB, free: 11.63 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001851/0.002033, allocations: 67.77 kB / 416.8 MB, free: 11.58 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.047e-05/0.002073, allocations: 1.406 kB / 416.8 MB, free: 11.58 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.259e-05/0.002116, allocations: 11.2 kB / 416.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.002229, allocations: 25.12 kB / 416.9 MB, free: 11.55 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.33e-05/0.002273, allocations: 20.39 kB / 416.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 8.654e-05/0.002359, allocations: 75.97 kB / 417 MB, free: 11.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.002511, allocations: 26.8 kB / 417 MB, free: 11.49 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.434e-05/0.002575, allocations: 27.97 kB / 417 MB, free: 11.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.002708, allocations: 30.8 kB / 417 MB, free: 11.46 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.002748, allocations: 5.625 kB / 417 MB, free: 11.46 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.746e-05/0.002765, allocations: 6.875 kB / 417 MB, free: 11.46 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.745e-05/0.002793, allocations: 13.91 kB / 417.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.002822, allocations: 30.39 kB / 417.1 MB, free: 11.44 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.002933, allocations: 76.53 kB / 417.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.002936, allocations: 6.125 kB / 417.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.002937, allocations: 0 / 417.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.00294, allocations: 3.938 kB / 417.2 MB, free: 11.41 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000282/0.003222, allocations: 297.8 kB / 417.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.003258, allocations: 10.52 kB / 417.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.691e-05/0.003284, allocations: 43.8 kB / 417.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.412e-05/0.003309, allocations: 14.34 kB / 417.5 MB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.4e-05/0.003363, allocations: 116.9 kB / 417.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.003374, allocations: 9.297 kB / 417.7 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.003385, allocations: 10.56 kB / 417.7 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.003507, allocations: 89.81 kB / 417.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.003515, allocations: 0 / 417.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.003525, allocations: 5.375 kB / 417.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.003531, allocations: 7.578 kB / 417.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.316e-05/0.003604, allocations: 48.03 kB / 417.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.00399, allocations: 317.6 kB / 418.1 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.706e-05/0.004067, allocations: 57.05 kB / 418.2 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.975e-05/0.004097, allocations: 18.67 kB / 418.2 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.004113, allocations: 5.891 kB / 418.2 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.174e-05/0.004125, allocations: 32.55 kB / 418.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.004126, allocations: 0 / 418.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001382/0.004264, allocations: 81.12 kB / 418.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.004283, allocations: 53.34 kB / 418.4 MB, free: 10.35 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.267e-05/0.004325, allocations: 109.3 kB / 418.5 MB, free: 10.24 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.521e-06/0.004331, allocations: 27.08 kB / 418.5 MB, free: 10.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.097e-05/0.004362, allocations: 111.5 kB / 418.6 MB, free: 10.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.039e-05/0.004372, allocations: 24.56 kB / 418.6 MB, free: 10.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.0044, allocations: 21.12 kB / 418.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.402e-05/0.004424, allocations: 322 kB / 419 MB, free: 9.746 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.216e-05/0.004446, allocations: 17.62 kB / 419 MB, free: 9.738 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.651e-05/0.004472, allocations: 33.62 kB / 419 MB, free: 9.711 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.01e-05/0.004522, allocations: 58.67 kB / 419.1 MB, free: 9.668 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.004524, allocations: 0 / 419.1 MB, free: 9.668 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.298e-05/0.004597, allocations: 86.8 kB / 419.2 MB, free: 9.613 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.004608, allocations: 4.062 kB / 419.2 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.004612, allocations: 1.891 kB / 419.2 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.004623, allocations: 1.125 kB / 419.2 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.533e-05/0.004698, allocations: 25.56 kB / 419.2 MB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.004703, allocations: 2.219 kB / 419.2 MB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.004728, allocations: 5.5 kB / 419.2 MB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.004734, allocations: 3.266 kB / 419.2 MB, free: 9.602 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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 3.735e-05/0.004771, allocations: 118.2 kB / 419.3 MB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.004785, allocations: 6.938 kB / 419.3 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.004886, allocations: 79.38 kB / 419.4 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.004888, allocations: 2.562 kB / 419.4 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.004892, allocations: 4.438 kB / 419.4 MB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.004894, allocations: 5.25 kB / 419.4 MB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.623e-05/0.00499, allocations: 154.9 kB / 419.6 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.004991, allocations: 4 kB / 419.6 MB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.005026, allocations: 17.25 kB / 419.6 MB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.005028, allocations: 0 / 419.6 MB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.005035, allocations: 6.062 kB / 419.6 MB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.005036, allocations: 0 / 419.6 MB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.005037, allocations: 1.344 kB / 419.6 MB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.944e-05/0.005106, allocations: 169.8 kB / 419.8 MB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-06/0.005116, allocations: 7.031 kB / 419.8 MB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-06/0.005125, allocations: 0.9375 kB / 419.8 MB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.046e-05/0.005155, allocations: 6.344 kB / 419.8 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.417e-05/0.00517, allocations: 3.062 kB / 419.8 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.005174, allocations: 6.125 kB / 419.8 MB, free: 9.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.803e-05/0.005192, allocations: 86.47 kB / 419.9 MB, free: 8.992 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005192, allocations: 0 / 419.9 MB, free: 8.992 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001552/0.005347, allocations: 21.95 kB / 419.9 MB, free: 8.984 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 (7): * Single equations (assignments): 7 * 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.0001441/0.005491, allocations: 0.6963 MB / 420.6 MB, free: 8.305 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.451e-05/0.005575, allocations: 48.56 kB / 420.6 MB, free: 8.285 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.005577, allocations: 128 / 420.6 MB, free: 8.285 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.894e-05/0.005596, allocations: 23.08 kB / 420.7 MB, free: 8.277 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.005789, allocations: 2.375 kB / 420.7 MB, free: 8.277 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.00611, allocations: 204.3 kB / 420.9 MB, free: 8.094 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.371e-05/0.006154, allocations: 75.06 kB / 420.9 MB, free: 8.023 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.437e-05/0.006178, allocations: 8.25 kB / 420.9 MB, free: 8.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.598e-05/0.006214, allocations: 26.06 kB / 421 MB, free: 8 MB / 330.7 MB Notification: Performance of SimCode: time 4.51e-07/0.006215, allocations: 0 / 421 MB, free: 8 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01339/0.0196, allocations: 2.149 MB / 423.1 MB, free: 7.086 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.918/6.938, allocations: 7.781 kB / 423.1 MB, free: 7.086 MB / 330.7 MB " [Timeout remaining time 653] (rm -f AES_AES.Devel_test_models.Test_HP_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_HP_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HP_001.pipe >> ../files/AES_AES.Devel_test_models.Test_HP_001.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_HP_001_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 AES_AES_Devel_test_models_Test_HP_001.fmu > AES_AES.Devel_test_models.Test_HP_001.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.963061391375959] Failed to read output from testmodel.py, exit status != 0: 7.017343133687973 7.026824401 7.022146217 Calling exit ...